I have web files stored on my server. Currently only the root has a full access:
drwxr-xr-x 6 root www-data directory -rw-r--r-- 1 root www-data file.php
The problem is that the developers wants to use their own account
su - myuser to access and modify these files.
Unfortunately, the only solution I have found is to add these users to
www-data group and make the php files writable by
www-data which is ugly.
What alternative do I have?