multiple group rights?


Results 1 to 3 of 3

Thread: multiple group rights?

  1. #1
    Join Date
    Jun 2002
    Location
    Berlin
    Posts
    20

    multiple group rights?

    One thing I never understood about Linux file rights is, ok, the second set of three rights are for the group so:

    drwxr-xr-x 3 edward users

    means that the group "users" has read and execute rights.

    However, what if I want to allow TWO groups to have access to the file, e.g. "accounting" and "sales"?

    Thanks,

    Edward Tanguay www.tanguay.de/LinuxAtNight
    www.tanguay.de/freesoftware
    www.tanguay.at/linux

  2. #2
    Join Date
    Jul 2000
    Location
    Recycle Bin
    Posts
    2,923
    Possibly you could make a new group accsales and put the users you want to access the files in that group. This way accounting has their own group of files, sales has their special files and the common files are in accsales group.

  3. #3
    Join Date
    Jan 2000
    Location
    Houston, TX, USA
    Posts
    9,994
    I like slapNUT's suggestion, personally. But if you really feel adventurous or you feel this sort of problem is going to recur, you might look into patching your kernel to support ACLs
    (Access Control Lists) so that you can have a bit more of fine-grained control over permissions on your files.
    We love Sensei!!
    A 1:1 ratio of Arby's sauce to Horsey sauce must be maintained.
    Like Linux? Want to like it more? Try Debian
    Best. (Python.) IRC bot. ever.
    Geekology

Posting Permissions

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