Grouping groups

From: Stephen Touset (stephen_at_touset.org)
Date: 12/30/03

  • Next message: Bradley M Alexander: "Re: X refuses to load nVidia module"
    To: <debian-user@lists.debian.org>
    Date: Tue, 30 Dec 2003 11:43:44 -0500
    
    

    I'm trying to set up a website on a Debian server in which anyone in one
    group (www-data) can modify all files under /var/www, but anyone in another
    specified group (management) can only modify /var/www/updates and
    /var/www/files.

    My idea is to create the management group, which will possess read-write
    capabilities on /var/www/files and /var/www/updates. The most intuitive way
    to proceed from here would be to specify that www-data "contains" the
    management group. Thus, anyone of group www-data is also automatically of
    group management, but anyone in group management is not automatically in
    www-data. However, I'm not sure if it's possible to specify group
    inheritances in /etc/groups. Is it possible? Will I just have to manually
    add the certain users to www-data and management? Or is there another way.

    I'd like to avoid using ext3 ACLs, by the way.

    -- 
    Stephen Touset <stephen@touset.org>
    "What do you mean Veritas is screwy? Veritas is the ***."
    -- 
    To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Bradley M Alexander: "Re: X refuses to load nVidia module"