Ubuntu QA:
BlogBrainstormPackage status
Log in
Ubuntu QA
The Ubuntu community has contributed 13882 ideas, 66434 comments, 1286163 votes

Idea #2293: Option to add different permissions to more than one group



up
13
down
Written by eliseobc the 1 Mar 08 at 20:16. Category: System.
Related to: Nothing/Others. Status: New
Description
There are some scenarios where you need to add different permissions to different groups.

As workaround I have been able to do so by assigning one group to the owner and another group to the group. With the different permissions.

This has work so far, but it makes more sense for the owner to be a user instead of a group. Also you could need to use different permissions to more that two groups.

Hope this makes sense.

If you liked this idea, check out my other ideas.
Tags: (none)

Attachments
No attachments.


Duplicates


Comments
peterjs wrote on the 1 Mar 08 at 22:45
This would be a kernel issue. Right now each file is owned by exactly one UID and one GID, how would you address having a file owned by multiple GIDs? How would you fit the extra data in to existing (or even new) file systems?

scorp123 wrote on the 2 Mar 08 at 18:01
If you had asked this in the support forums people would have told you: "Access Control Lists" (acl's). That's the answer to your question.

A small introduction can be found on the SUSE website (what they write there is valid for other Linux distros too):
http://www.suse.de/~agruen/acl/linux-acls/online/

Ubuntu-specific tutorial for ACL's:
http://tlug.dnho.net/?q=node/171

Another small tutorial ... based on RHEL/CentOS but the commands presented there should work on Ubuntu too:
http://beginlinux.com/index.php/server_training/acls


All you need is the "acl" package and to mount the partition in question with the "acl" option in /etc/fstab, that's it.

eliseobc wrote on the 2 Mar 08 at 20:11
Thanks for the info scorp123

That is exactly what I was looking for.

There is no need for this Idea to continue.

I will try to be more careful next time.

BungaMan wrote on the 11 Mar 08 at 12:18
Maybe the idea needs to be there that this is installed and enabled by default? Without these ACL's you would have to setup a group for the location that you want to control, then assign users to that group and then change the group owner of the location. With ACL's you add a user (or group) to the list and set specific permissions and you can add more users and groups as you like.


Post your comment