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

Bogdan Kulynych picture Bogdan Kulynych · Jan 3, 2013 · Viewed 16.3k times · Source

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?

Answer

Bogdan Kulynych picture Bogdan Kulynych · Jan 4, 2013

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.