On 2010-08-21 03:45, Andreas wrote:
Hi,
I'd be happy if someone could give me a pointer to a way to have more than r,w,x for owner/group/others. Actually I need more than owner/group/others.
E.g. a user Romeo has all his stuff belong to Romeo (himself) in group Romeo. He might want to give Juliette access to his ~/poems but not to ~/exgirlfriends. So he should be able to give her +rx for just the poems-directory and noone as well as nowhere else.
By the way ... his buddy George should have access to the exgirlfriends as well as to the poems.
Interesting example! X'-) Well... You should create groups "romeops" and "romeogf". Add Juliette to group "romeops", and George to group "romeogf". Then "chgrp romeops ~/poems" and "chgrp romeogf ~/exgirlfriends". Finally, allow read permission to those two directories to groups.
Of course as mere users they can't create new usergroups.
Right. Perhaps with sudo, though. Have a look in "man acl". It is more versatile, but I don't know how to use it, nor if a user can do it. -- Cheers / Saludos, Carlos E. R. (from 11.2 x86_64 "Emerald" GM (Elessar))