Apache2 on a Multiuser-System
I have the following problem:
I have 3 webadmins (non-root) on a Debian-System with Apache2 and PHP5.
So I've created the group "web" with these 3 users in it.
I changed the group of /var/www to "web" and set the "setgid" bit, so that all new files and directories have the "web"-group.
So far so good.
The problem now is, that every new file has the right group, but the wrong permissions. The group members are only allowed to read, but not to write.
Is there another way than change the umask of every user (and apache!), i.e. set the umask just for that specific directory? ex. setfacl?
I hope I am not barking on the wrong tree here.
If there is better way than umask fell free to write.
Thanks in Advance
Intra
Last edited by Intraweb; 23rd January 2008 at 16:18.
|
Recent comments
19 hours 44 min ago
22 hours 40 min ago
23 hours 54 min ago
1 day 1 hour ago
1 day 2 hours ago
1 day 4 hours ago
1 day 5 hours ago
1 day 21 hours ago
1 day 22 hours ago
2 days 2 hours ago