On Tue, Aug 18, 2009 at 08:09:00PM -0700, jw wrote:
> On Tue, Aug 18, 2009 at 3:11 PM, Jeremy Allison<j...@samba.org> wrote:
> > To allow these to apply to the new directory, set :
> >
> > directory mask = 0775
> >
> > The reason you're not getting 775 perms on the new directory
> > is that the default directory mask is 0755, which masks out
> > the write permission for the group.
> >
> > Just setting inherit owner, and directory mask = 0775
> > should be enough.
> 
> Hi,
> 
> I gave this a shot, but it's still not quite doing what I would expect.
> I have:
> 
>    inherit owner = yes
>    directory mask = 7775
> 
> And this produces:
> 
>    drwxrwxr-x   2 nobody      sambaguest   512 Aug 18 19:54 New Folder (20)
> 
> The problem is the sticky bit is not set. I want the sticky bit to be
> set so that new files created under this directory cannot be edited
> once created.

Ah ok, you originally complained about not getting the
right group permissions, not the sticky bit. The sticky
bit is not automatically inherited by UNIX.

Let me look into this a little more...

Jeremy.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Reply via email to