[Samba] 'inherit owner' doesn't play nice with 'force directory mode'

Harry Jede walk2sun at arcor.de
Thu Aug 20 00:05:50 MDT 2009


On Dienstag, 18. August 2009 wrote jw:
> Hello
> I am trying to create a 'dropbox' share, using the sticky bit and
> 'inherit owner'.
>
> By themselves they work, but when a directory is created in this
> share, its permissions are not quite what I need.
> Therefore, I try to use 'force directory mode' or 'inherit
> permissions'. However, whenever I do that, the owner on the
> newly-created directory is no longer correct w/regard to 'inherit
> owner'.
>
> Is this correct behavior, or a bug?
You should try posix acls. Read the man pages:
getfacl
setfacl
acl

or search this list archiv. Look for "default acl".

...
> Thanks,
> John



-- 

Gruss
	Harry Jede


More information about the samba mailing list