Computing.Net > Forums > Linux > Multi group permissions

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to get for your free account now!

Multi group permissions

Reply to Message Icon

Name: saburo62
Date: January 29, 2006 at 12:49:18 Pacific
OS: fedora core 3
CPU/Ram: various
Comment:

Hi there.

was hoping someone could help me. i have a folder that i need to set permissions on. i have a few groups that need diffrent permissions on the same folder. does anyone know a way to do this without using acl ?


Report Offensive Message For Removal

Sponsored Link
Ads by Google

Response Number 1
Name: slip
Date: January 29, 2006 at 15:40:14 Pacific
Reply:

No acl?I am not sure what you are looking for.I mean; what you want to do? Give me some precise info about your problem. I'll walk you through; with or without acl.
See ya mate!


Report Offensive Follow Up For Removal

Response Number 2
Name: 3Dave
Date: January 30, 2006 at 06:07:48 Pacific
Reply:

How are they accessing the directory? Locally, over a network, samba, nfs etc?


Report Offensive Follow Up For Removal

Response Number 3
Name: saburo62
Date: January 30, 2006 at 07:29:52 Pacific
Reply:

thanks for the reply guys here is the details

all this happens localy

a folder called testfolder

a group called group1
(2 users is admin admin1)

a group called group2
(2 users manger manager1)

a group called group3
(2 users worker1 worker2)

each group needs diffrent access to this folder

group 1 needs full control
group 2 needs read only
group 3 needs no access


just not sure how to get arround only being allowed to set permissions for one group. im familer with NT security and this is a little diffrent.



Report Offensive Follow Up For Removal

Response Number 4
Name: 3Dave
Date: January 30, 2006 at 09:12:12 Pacific
Reply:

Some links that may help:
http://freshmeat.net/articles/view/1387/
http://www.suse.de/~agruen/acl/linux-acls/online/
http://supportweb.cs.bham.ac.uk/howto/unix/acls.php
http://trustees.sourceforge.net/


Report Offensive Follow Up For Removal

Response Number 5
Name: slip
Date: January 30, 2006 at 10:56:50 Pacific
Reply:

1. create a testfolder as user admin (as he has full control)
2. bring up terminal and execute : setfacl -m group:group1:rwx,group:group2:r-x,group:group3:---,other:---,mask:rwx testfolder/
3. That's it. It wokrs on my machine with SuSE.
P.S You had to put r-x for group2 because group 2 needs to enter that folder.
If you have some problems with this write again



Report Offensive Follow Up For Removal

Related Posts

See More


Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Multi group permissions

Group Permissions www.computing.net/answers/linux/group-permissions/29498.html

user & group permissions www.computing.net/answers/linux/user-amp-group-permissions/23824.html

Group Permissions www.computing.net/answers/linux/group-permissions/25435.html