Question
www-data as chown but still remain write access as other user(s)
Hey all,
Currently I’m running a Wordpress multisite configuration. Here I’ve recursively set www-data as the owner of /var/www to allow Wordpress write access in it’s whole installation. All folders within /var/www have their permissions set to 755. Now I’d like to still connect to my server using SFTP to add/edit/delete files using another (sudo) user, which isn’t possible.
What would be presumed best practice to solve this problem? Thanks in advance!
Lorenzo
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×