[Samba] See inherit user, need inherit group

Paul Gienger pgienger at ae-solutions.com
Mon Oct 24 14:34:14 GMT 2005


Here is my scenario:

I have two directories that have their access controlled by secondary groups
of the users.  \\server\coolguys is available to the group 'admins' while
the directory \\server\averagejoes is accessible to the group 'lusers'.  I
have a user, we'll call him joe, that is primarily in the admins group, but
is also in lusers.  If joe is to copy a directory or a set of files from
coolguys and place it into averagejoes, the directory still has the gid info
from admins.  This causes a problem for 95% of the people in lusers as they
can't touch the directory.

The three inherit flags that are listed seem to work on everything else but
group membership.  Is there a way that I can get an inherit group-style
option to work?  Using forcegroup doesn't work so hot because in the actual
situation, there are more layers below the share that have their own group
restrictions.  \\server\averagejoes\accountants and
\\server\averagejoes\consultants can both have corresponding group flags set
to deny access to other than the proper group flags.


------------------------------------------------------------------
Paul Gienger                    Office: 701-281-1884
Applied Engineering Inc.
Systems Architect               Fax:    701-281-1322
URL: www.ae-solutions.com       mailto: pgienger at ae-solutions.com




More information about the samba mailing list