I am using Sublime Text for web developement. Every time I try to save changes (Ctrl+S), the authentication window pops up:
Authentication is needed to run '/bin/cp' as the super user
Obviously, when I enter the password, Sublime saves changes correctly. But when I press Cancel, another window pops up with an error:
Error: administrator_copy_file (/tmp/.Some_File_Here, /var/www/Rest_Of_Path_Here) failed: Authorization failed
As I am quite new to Ubuntu I don't know how to get rid of that authorization pop up. I have all permissions to /var/www folder.
/var/www
without becoming root (e.g. usingsudo
)? – David Bailey May 27 '15 at 10:33/var/www
but not to the subfolders. I've donechown
on/var/www
but when I've checked permissions on subfolders, ex./var/www/First_Site
, it belongs towww-data
. I thought thatchown
on a main folder will give me permissions also to all subfolders/files in it. – SONGE May 27 '15 at 12:12