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

Sebastian Arcus s.arcus at open-t.co.uk
Sun Sep 18 19:07:42 UTC 2022


On 17/09/2022 19:11, Rowland Penny via samba wrote:
> 
> 
> 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.

Well, I guess it was worth a try. Maybe one day :)

Thank you for getting back to me




More information about the samba mailing list