[NTLUG:Discuss] Samba, ACL - permissions

Chris Cox cjcox at acm.org
Thu Jun 7 11:00:01 CDT 2007


Leroy Tennison wrote:
...
> This brings me back to the question "If 'user1' is a member of 'parent' 
> and 'parent' is a member of 'child' should 'user1' receive (indirectly) 
> the access of 'child'?"

There are no nested groups.  Did Red Hat do something to try to
implement (and thus break) this?

A person can belong to multiple groups... the primary group is stored
in /etc/passwd.  Additional group membership is in /etc/group.

On a contemporary *ix box, having membership in a group is good
enough for access (rwx).  All creates by default will be done with
the primary group id.  On older *ix, or if you want to change
your apparent primary group, you use newgrp which basically
gives you a shell with the different group set as your
primary group (script writers need to be aware of that).





More information about the Discuss mailing list