Has anyone got a nice solution for handling files in /var/www
? We're running Name Based Virtual Hosts and the Apache 2 user is www-data.
We've got two regular users & root. So when messing with files in /var/www
, rather than having to...
chown -R www-data:www-data
...all the time, what's a good way of handling this?
Supplementary question: How hardcore do you then go on permissions?
This one has always been a problem in collaborative development environments.