"Force directory security mode = 2777" doesn't work (?)

Jeremy Allison jra at samba.org
Fri Feb 19 18:43:01 MST 2010


On Wed, Feb 17, 2010 at 05:17:10PM +0100, Erik Jostein Sørnes wrote:
> >Hi!
> >
> >When setting "Force directory security mode = 2777" on in smb.conf, the setgid-bit (the 2 in 2777) is not applied on folders which I modify from the native NT security dialog box.
> >
> >I.e. in [testshare], path /testshare, i have a folder testfolder:
> >
> >rwx---rw-   testfolder
> >
> >After modifying this folder from windows, using the native NT security dialog box, it gets permissions:
> >
> >rwxrwxrwx   testfolder.
> >
> >Now, it _should_ get:
> >
> > rwxrwsrwx   testfolder
> >
> >, right?
> >
> >Is this a bug, or is this expected behaviour?
> >
> >I have tried this on a bunch of differnt servers with samba 3.2.7 and 3.4.5
> >
> >-regards
> >Erik
> 
> I Tried to compile samba 3.4.5 without acl support and the problem was gone.
> I recompiled it with acl support and the problem was there as described above.
> 
> Is this a bug? Should I file a bugrapport on this?

Yes please. Log a bug @ bugzilla.samba.org and I'll take
a look.

Thanks !

Jeremy.


More information about the samba-technical mailing list