Multi group permissions

Score
0
Vote Up
January 29, 2006 at 12:49:18 Pacific
Specs: fedora core 3, various

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 ?


Reply ↓  Report •


#1
Vote Down
Score
0
Vote Up
January 29, 2006 at 15:40:14 Pacific

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!

Reply ↓  Report •

#2
Vote Down
Score
0
Vote Up
January 30, 2006 at 06:07:48 Pacific

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

Reply ↓  Report •

#3
Vote Down
Score
0
Vote Up
January 30, 2006 at 07:29:52 Pacific

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.



Reply ↓  Report •

#4
Vote Down
Score
1
Vote Up
January 30, 2006 at 09:12:12 Pacific

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/

Reply ↓  Report •

Related Posts

#5
Vote Down
Score
0
Vote Up
January 30, 2006 at 10:56:50 Pacific

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



Reply ↓  Report •

Reply to Message Icon Start New Discussion
« Printer HP takes 8min/she... Linux Firewall/Nat/ Masqu... »

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

Ask the Community!
Describe your Problem
Example: Hard Drive Not Detected on My PC