[Samba] Permissions not inherited when moving a file

Rowland penny rpenny at samba.org
Tue Aug 6 15:19:23 UTC 2019


On 06/08/2019 15:36, Sören Busse via samba wrote:
> Thank you very much for your reply.
>
> Beside the fact that we can't use Windows ACLs because we need the 
> posix acls for a different service,
What service ??
>
> are you sure, that Windows ACLs would fix this issue? The ntacls are 
> stored in the xattr of the file itself. When you now move the file to 
> a different location the xattr should stay the same and the user still 
> doesn't have the right permissions to that file.
>
> Aren't there any other solutions when using Posix ACLs?

I just realised that you have something missing from smb.conf:

     vfs objects = acl_xattr
     map acl inherit = Yes
     store dos attributes = Yes

Rowland





More information about the samba mailing list