[Samba] windows acls

Peter Carlson peter at howudodat.com
Tue Dec 20 20:51:42 UTC 2022

Is there a way to reset the ACLs?

I created a new folder in Accounting and was able to create a document 
inside, and it has the right ACL.  I cant apply the correct ACL using 
RSAT or windows tools since I dont have permission.  Is there a way to 
set it using samba tools?  Or even reset them and then set them up again 
using windows tools?


On 12/20/22 12:30, Ralph Boehme via samba wrote:
> Does samba-tool show what's in the xattr? I tend to rely on smbcacls 
> and so I keep forgetting what samba-tool does in which mode and whith 
> which options. With smbcacls you'll get to see the ACL as seen by the 
> client and also what the server uses when enforcing it. Whatever 
> getfacl reports is up the kernel, but remember Samba enforces the ACL 
> form the xattr when using the acl_xattr module.
> Both the filesystem ACL and the ACL in the xattr should be insync and 
> out-of-sync status should be detected and the module has self healing 
> builtin, but maybe something is not quite working as intended in that 
> area.
> Cheers!
> -slow

More information about the samba mailing list