MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm working on a school project and have scoured the web for an answer to no avail.
I have already set up and configured a Linux/Windows/Novell Network, now I'm down to ADDING USERS and GROUPS and assigning permissions.
My problem is this: on the Linux Box, I have created some USERS, GROUPS, and a few folders. I need to assign varying levels of permision to the folders for each group.
i.e. group 'Manager' get's full access (easy if I make this group the OWNER)
but, group 'Supervisor' also needs access, but no write
and group 'Employees' needs read rights only, as well as the group 'Temp'.
How can you assign MULTIPLE GROUPS permissions to a single directory???
Last edited by PaladinCowboy75; 05-04-2004 at 03:07 PM.
Well. your going to have to set the Manager up as the Root owner... Supervisor goes under the group and gets read and execute.. and Employees and temp go under the "everybody else" catagory with all other people having just read access, which means anyone and everyone.
*Edit*
Then after I said that I had another idea...
Make 2 new groups. Name one... readexec and the other reader or something close to that... Make the directory belong to readexec. And its group owner be reader... Give readexec read and execute privelages, and reader, read privelages... Getting the idea?
Then, just put your users in the appropriate group. readexec for both... read for just read. That way the directories only need the two permissions
What you proposed FIRST is what I've already tried, but I keep getting DENIED ACCESS when logged onto a user that SHOULD have permission to access.
I Made mysefl the USer Owner, then assigned the group 'Manager' as the group, and gave them FULL access. Yet when I'm logged on as a user in the group 'Manager' , they are denied access when trying to create a text file in the directory they were given full access too.
As for your second suggestion, I can't do that becuase this is a class project with a specific GROUP structure.
Looks like 'setfacl' command will work..... I had to install the acl and attr related rpms. Whan I ran some tests commands it showed them working... but when I ran the commands without the --test switch, I got an error.
I read that my Kernel has those functions disabled (2.4)... so I'm hoping after I patch the kernel to 2.6 that they will work.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.