Search code examples
ubuntusublimetext2sublimerepl

Sublime Text: Permission denied when running Sublime REPL by non-root user under Ubuntu


When trying to run Sublime REPL, I get a message box with permission denied error: IOError(13, 'Permission denied') unless I launch Sublime Text with root privileges (sudo sublime). It holds for any REPL language.

I'm using Ubuntu 12.10, and Sublime resides in /opt/ directory.

Since I can't google anyone else having this problem, probably there's something special about my filesystem privileges somewhere. What can cause files that Sublime REPL use be protected?


Solution

  • Ooof, that was silly. In ~/.config folder with Sublime settings, sublime-text-2 had root root owner, have no idea why. Had to change owner to myself with chown, and that's all.