Atom editor "allowed" | OSX 10.9.4 Mavericks

Just switched to OSX from windows, so sorry if this is a simple fix.

Every time I create a new file in Atom I get this error.

EACCES permission denied '{File path}.'

I already changed the permissions of the actual app in the apps folder but didn't seem to work.

I also noticed that when saving files, Atom Helper will randomly prompt me for a password.

Obviously something awkward.

Thanks in advance for your help!

+3


source to share


2 answers


Nvm figured it out.

It turns out that a specific folder was created by Jekyll using "sudo" inside my shell script.



If I create a new project without sudo it works fine.

+2


source


Regardless of the reasons the contents of the folder are not writable, a simple workaround is to open the file in Atom from the terminal (as described here ), but before sudo

opening Atom as superuser, for example:



sudo atom myfile.txt

      

0


source







All Articles