Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

I use a Papyrus package with Sublime Text 2, but when I try to compile a file by pressing ctrl+B or F7 I get a permission error;

[Errno 13] Permission denied
[cmd:  [u'/home/sde/.wine/drive_c/Program Files/The Elder Scrolls V Skyrim/Papyrus Compiler/ScriptCompile.bat', u'/home/sde/.wine/drive_c/Program Files/The Elder Scrolls V Skyrim/Data/Scripts/Source/MyFirstScript.psc']]
[dir:  /home/sde/.wine/drive_c/Program Files/The Elder Scrolls V Skyrim/Data/Scripts/Source]
[path: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin]

Even when I run Sublime Text 2 as root. Any suggestions? Thanks in advance!

share|improve this question
are you using sublime text 2 windows version through wine? – VENKI Dec 17 '12 at 19:47
No, unix version. Only alters/adds files in wineprefix. – empec Dec 17 '12 at 20:04
I remember to never run wine applications with sudo. – empec Dec 17 '12 at 20:05
Ah... perhaps Sublime Text 2 doesn't have permission because it uses Papyrus Compiler which is a wine application in this case? So in order to fix this, I have to run Sublime Text 2 Windows version in wine. Or Papyrus Compiler unix version. – empec Dec 17 '12 at 20:13
I don't think the problem has anything to do with Sublime Text, rather Papyrus compiler crashes (or the plugin you're installed is badly coded and is not cross-platform). Can you run the compiler in terminal to see if it works? If Unix version exists why are you not using it? – Sergey Dec 17 '12 at 20:47

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.