I'm trying to open a .txt file in Sublime Text 3, but macOS won't let me because it says it's from an unknown "developer". I can totally understand this warning when it comes to applications, but I don't think it's warranted when it's just a text file.

Can I somehow make it possible to open text files from the internet without making it possible to run applications downloaded from untrusted sources?

  • 1
    Are you sure it's actually a benign .txt file? (something can have a .txt extension and still be executable) – 0942v8653 Mar 31 '17 at 13:45
  • It's permissions are rw-r--r-- and yes, I'm sure it's benign. It's a log file. I looked at it with less. – Lars Nyström Mar 31 '17 at 14:01

This method lets you allow a single file to be opened.
1. Find the file in finder.
2. Press ctrl.
3. Click on the file.
4. Click "Open".
5. Click OK in the Prompt.

Be aware this will disable the security checks of the file, maybe the file contains malware

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .