What's the best way of handling permissions for apache2's user www-data in /var/www ?
Posted
by gyaresu
on Server Fault
See other posts from Server Fault
or by gyaresu
Published on 2009-05-11T05:13:03Z
Indexed on
2010/05/22
3:41 UTC
Read the original article
Hit count: 474
Has anyone got a nice solution for handling files in /var/www/ ?
We're running Name Based Virtual Hosts and the apache2 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.
Cheers.
© Server Fault or respective owner