![]() ![]() This is quite a lot uglier than just fixing the files. Question: I use Sublime text SFTP to work on my remote servers, Text however I have problems using the SFTP plugin to connect to my server., Ive been getting. Run ST3 as a user who can write there: sudo -u www-data subl /var/www/Rest_Of_Path_Here Use ACLs to allow your user to write without disturbing the standard permissions framework.Ĭhange your workflow to write into a version control system (eg git) as your users, and then have a script running as the other user check it out.But this is pretty risky if there's something malicious on the server already. Change the file mask so other users can write (eg 777).Add your user to the www-data group and change the file mask to 774 so members of the group can write/execute.This may upset things running as other users that might also need to write, eg a webserver running as You don't have permission to write to /var/I didn't know it could do this but I've tested it and it works so there you go.Īllow your user to write the files directly.
0 Comments
Leave a Reply. |