问题描述
系统是运行Sublime Text 3的Mac OS X El Capitan.
使用符号链接,通过键入"subl",我完全能够从终端运行ST3.我不知道可能会发生什么变化.
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.
现在,每次我尝试从任何给定目录中的终端启动subl时(通过运行"subl"),我每隔5秒就会收到一个权限被拒绝"窗口.
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打开指定的目录,无论该目录是什么,然后每次我切换回ST3时,该窗口都会弹出权限被拒绝"]
[Sublime opens the specified directory, whichever it is, and then everytime I switch back to ST3, the window pops up "Permission Denied"]
ST控制台中的唯一消息是:错误:权限被拒绝".
The only message in ST's console is: "error: Permission denied".
从GUI(而非CLI)打开Sublime Text时,根本不会发生这种情况.
推荐答案
我能找到的唯一方法是完全禁用所有插件.
The only way I could find was disabling all the plugins altogether.
这停止了错误消息.现在,我将它们一个一个地重新启用,到目前为止效果很好.
This stopped the error message. Now I'm enabling them back, one by one, so far so good.
这篇关于从终端运行Sublime Text 3时如何解决权限被拒绝?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!