Find the answer to your Linux question:
Results 1 to 5 of 5
hi all is it possible to assign multiple groups to a folder? eg i have a folder /shared i want the folder to be accessible by users from groups g1,g2,g3. ...
  1. #1
    Just Joined!
    Join Date
    Mar 2008
    Location
    navi mumbai, india
    Posts
    41

    Question assign multiple groups to a folder :(

    hi all

    is it possible to assign multiple groups to a folder?

    eg i have a folder /shared
    i want the folder to be accessible by users from groups g1,g2,g3.

    i can add a user to multiple groups but cannot assign a file/folder to multiple groups.

  2. #2
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    i don't think its possible, just make a group that has members of those 3 groups, and make the group owner of that directory/file that new group

  3. #3
    Just Joined!
    Join Date
    Mar 2008
    Location
    navi mumbai, india
    Posts
    41
    thanks for your reply. i had posted the same question at HP forums also.
    IT Resource Center forums - assign multiple groups to a folder
    i got a couple of replies. do comment. thanks

  4. #4
    Linux Guru
    Join Date
    Nov 2007
    Posts
    1,695
    If the filesystem supports ACL's and is mounted with ACL support, you can add any combination of user/group access on files/dir's.

    ACL Example

  5. #5
    Just Joined!
    Join Date
    Nov 2009
    Posts
    1
    Not possible, unless you use ACLs (a real pain) or do as they suggested, having a group with people from multiple groups, which is even a bigger pain.
    I'm still trying to find a way to manage that, and haven't found anything that will compare to the ACLs in Windows.
    There is no true inheritance of permissions either (no, -R is not "inheritance").

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...