[code]# use sudo to edit a file with sublime
sudo subl /etc/paths.d/something
permission denied when saving file
use sudo to edit a file witih emacs
sudo emacs /etc/paths.d/something
file is saved ok
[/code]
[code]# use sudo to edit a file with sublime
sudo subl /etc/paths.d/something
sudo emacs /etc/paths.d/something
[/code]
bueller? …
bueller?
subl is an executable shipped with sublimetext, so please fix it so that it works correctly when invoked with sudo.
I have noticed that if I set “atomic_save”: false, then I can successfully save, but I have to authenticate twice, once for sudo and once when sublimetext tries to save.
Just tested on OS X 10.8 ST3 and works fine for me with “atomic_save”: true. Granted I do experience the double auth like you’ve stated.