[Samba] Change samba file ACL's from Linux cli?

Rowland Penny rpenny at samba.org
Sat Sep 17 18:11:25 UTC 2022



On 17/09/2022 16:15, Sebastian Arcus via samba wrote:
> I think at the moment the recommended way to manipulate file ACL's on 
> Samba shares is through the Windows interface. This works, but it is 
> really slow when applied to an entire network share. Even worse, if done 
> through a vpn connection, it is excruciatingly slow - sometimes taking 
> hours and hours for a file share of a few thousand files. Is there some 
> other way to achieve this on the Linux command line - either using 
> samba-tool, or some other utility? On the Linux side, setfacl or chmod 
> are lightning fast compared to their Windows counter parts - an entire 
> file share can be done in less than a minute - which is a thing of 
> beauty :)
> 

Not really, there is smbcacls and 'samba-tools ntacls', but they are 
nowhere near being a replacement for setting permissions from Windows.

Rowland




More information about the samba mailing list