The system is a Mac OS X El Capitan running Sublime Text 3.
I was perfectly able to run ST3 from the terminal, using the symbolic link by typing "subl". I have no idea what could have possibly changed.
Now everytime I try to start subl from the terminal in any given directory (by running "subl .") I get a "Permission Denied" window every 5 seconds.
[Sublime opens the specified directory, whichever it is, and then everytime I switch back to ST3, the window pops up "Permission Denied"]
The only message in ST's console is: "error: Permission denied".
When opening Sublime Text from the GUI (not CLI), this doesn't happen at all.
If you have installed Git for Sublime 3 it causes an error and popup "Permission Denied" If you deleted any project file or folder that has been hosted in github.
Solution: Delete the Git package and reinstall it. You can do
cmd+shift+p and select "Package Control: Disable Package" and select Git
Hope it helps.
Disable csrutil by rebooting in recovery mode (cmd + r on startup) then Utilities > Terminal
csrutil disable
then reboot your mac as you normally would. csrutil should do it but I have heard others supposedly needed to disable gatekeeper as well...
Disable gatekeeper in terminal with:
sudo spctl --master-disable
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With