[Samba] Remove all Windows ACL's from files/folders

Jeremy Allison jra at samba.org
Thu Mar 24 17:10:54 UTC 2022

On Thu, Mar 24, 2022 at 10:07:16AM -0700, Greg Sloop <gregs--- via samba wrote:
>What's the proper way to REMOVE all the ACL's assigned by Windows to a
>Samba share/folders/files?
>The short story is I was having problems assigning ACL's via the Windows
>security dialog. I managed to fix that, but now users that I assign rights
>to a file/folder simply don't have those rights, and I can't figure out why.
>I want to make absolutely sure that all the previous ACL's are gone so I'm
>sure I'm working with a clean setup. If I still have issues, then at least
>I'm starting from a clean base, so working through the troubleshooting
>steps might be easier.

If you are storing Windows ACLs into EA's then recursively
remove system.NTACL from all files/directories. You'll
need to be root.

More information about the samba mailing list