How to allow permission Denied when starting Sublime Text 3 from the terminal?

Mac OS X El Capitan works with Sublime Text 3.

I was perfectly able to start ST3 from the terminal using a symbolic link by typing "subl". I do not know what could change.

Now, every time I try to start sublimating from the terminal in any given directory (by running “howl”), I get the “Allowed permission” window every 5 seconds.

[Sublime opens the specified directory, depending on what it is, and then every time I switch back to ST3, the "Permission Denied" window appears]]

The only message in the ST console is "error: Permission denied".

When opening Sublime Text from a GUI (not CLI), this does not happen at all.

+7
sublimetext sublimetext3 permission-denied osx-elcapitan macos
source share
5 answers

The only way I could find is to completely disable all plugins.

This stopped the error message. Now I bring them back, one by one, so well.

+1
source share

If you installed Git for Sublime 3, this causes an error and a "Permission Denied" popup. If you deleted any project file or folder hosted on github.

Solution: Uninstall the Git package and reinstall it. You can do

cmd + shift + p and select "Package Control: Disable Package" and select Git

Hope this helps.

+4
source share

Disable csrutil by rebooting in recovery mode (cmd + r at startup) then Utilities> Terminal

csrutil disable

then restart your Mac as usual. csrutil should do this, but I heard that others might need to disable the gatekeeper ...

Disable gatekeeper in terminal using

sudo spctl --master-disable

+2
source share
  • Right click on your main folder.
  • Get information
  • Sharing and permissions. (Unlock if necessary)
  • Add a new user and add yourself to the group. Click OK.
  • Change your privilege from Read Only to Read and Write.
  • Wait for the changes to complete and try to save. Now you can save.
+1
source share

From the GUI, by doing File > Save As... and going to the folder, I cleaned it for me a second time. I reorganized the folders and files in Finder, opened it and tried to make Save As... when I received an error.

I checked the permissions of files and folders via File > Get Info , but everything was in order there. Not sure why Sublime Text is confused.

+1
source share

All Articles