group permissions

Discussion in 'Server Operation' started by leon247, May 7, 2008.

  1. leon247

    leon247 New Member

    Hello,
    i'm new on this site and i'm new on Linux, so forgive my
    questions...
    Becoming from others OS don't understand the group permission on files and folder. Only one group can have permissions? If I have two different groups, how can decide the permission on both groups over the same file?
    I can decide permissions for owner, owner group and others.
    If I have a second group that is different from other categories, how can I do it?

    Thanks!:)
     
  2. falko

    falko Super Moderator ISPConfig Developer

    You'd have to add all users from the second group to the first group.
     
  3. leon247

    leon247 New Member

    Thanks, you confirm that on Linux we can't have a situation like this:
    owner (rwx)
    first group (r-x)
    second group (rwx)
    others (---)

    on the same file.
    In this case I can only change permissions to others in r-x and delete
    the first group. Is OK? The constraint is that all people can read that
    file.

    Thanks,
    leon247
     
  4. falko

    falko Super Moderator ISPConfig Developer

    That's right, this isn't possible.

    You can make it world-readable, but you don't need to delete the first group.
     
  5. chipsafts

    chipsafts New Member

    multiple group permissions

    You can't have more than 1 group in an ACL entry? I didn't know that. Explains a lot of problems.

    Can 1 group be added to another group without listing individual names?

    Does the same rule apply to being able to have mulitple users listed in an ACL ?
     
  6. falko

    falko Super Moderator ISPConfig Developer

    I think you're mixing up things. This thread is about file/directory ownerships.
     
  7. falko

    falko Super Moderator ISPConfig Developer

    I think you're mixing up things. This thread is about file/directory ownerships.
     

Share This Page