Apache2 on a Multiuser-System

Discussion in 'Server Operation' started by Intraweb, Jan 23, 2008.

  1. Intraweb

    Intraweb New Member

    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: Jan 23, 2008
  2. Intraweb

    Intraweb New Member

    We are trying now to solve the Problem with setfacl.

    aptitude install acl
    then you need to mount the partition with acl support.

    Complicated but it seems to be the only solution :-|
     

Share This Page