www-data as chown but still remain write access as other user(s)
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!