Permissions: giving specific groups write access to a directory
Hi again friends
I have a directory, let's call it /directory.
I want to give the group root and the group users12 write permission to this directory and everyone else rx permissions.
I know how to assign a directory to a group, and how to change the permissions on that directory, but I have no idea how to assign write permissions to more than one group...
Here's what I've tried:
chmod 775 /directory
That would give it owner:rwx group:rwx other:-rx permissions right?
Where to from there?
ADDED:
Mmm, just saw something interesting. Something about creating a new group, assigning the root and user12 group to this new group, and making the new group the owner of the directory...
Isn't there some other way to do this though?
Last edited by kinetik; 07-06-2006 at 06:03 AM.
|