[Samba] samba howto: sticky bit on directories

Daniel Müller mueller at tropenklinik.de
Mon Mar 28 05:07:08 MDT 2011


This is working with samba sernet newest release:
This is setting the bit for the group even with msoffice-files correctly
        directory mask=2770
        force directory mode=2770
        create mask = 2770
        force create mode=2770
        force security mode=2770
        force directory security mode=2770

On Fri, 25 Mar 2011 15:23:01 +0100, "Werner Durgarten"
<wernerdurgarten at gmx.de> wrote:
> Hi List,
> 
> The Samba Howto Collection
>
http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/AccessControls.html#id2611229
> says:
> 
> "When the set user or group ID bit (s) is set on a directory, then all
> files created within it will be owned by the user and/or group whose
`set
> user or group' bit is set. "
> 
> while i cannot repoduce this behavior the wikipedia says:
> http://en.wikipedia.org/wiki/Setuid#setuid_and_setgid_on_directories
> 
> "The setuid permission set on a directory is ignored on UNIX and Linux
> systems "
> 
> either there is an error in the howto, or maybe its just time for me to
> start the weekend ;-)
> 
> regards
> 
> Werner
> -- 
> GMX DSL Doppel-Flat ab 19,99 Euro/mtl.! Jetzt mit 
> gratis Handy-Flat! http://portal.gmx.net/de/go/dsl


More information about the samba mailing list