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

Erik Jostein Sørnes Erik.Jostein.Sornes at ahus.no
Wed Feb 17 09:17:10 MST 2010


>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?

-regards
Erik


More information about the samba-technical mailing list