[Samba] confirm deletion - possible?

Rowland penny rpenny at samba.org
Tue Jan 19 10:39:22 UTC 2021


On 19/01/2021 10:25, Stefan G. Weichinger via samba wrote:
>
> Am 19.01.21 um 10:19 schrieb Stefan G. Weichinger via samba:
>>
>>
>> Is it possible and configurable to ask something "are you sure? y/n" 
>> if a user wants to delete a file/folder on a samba share?
>>
>> Is that possible by using Windows ACLs or ... ?
No, ACL's just deny or allow access etc
>>
>> In xmas holidays and covid lockdown I have users accessing via VPN 
>> and tablet ... they wipe around and accidentally move folders to 
>> unknown places etc ;-)
>>
>> So I have to come up with some combination of ACLs etc
Do you use the recycle bin ?
>
> checking
>
> https://wiki.samba.org/index.php/Setting_up_a_Share_Using_Windows_ACLs
>
> again ... yes, I use ACLs at some sites already.
>
> I assume I have to follow the same steps for a Samba standalone server 
> as for a DM server?

Yes, just use vfs_acl_xattr in the standalone servers smb.conf

Rowland






More information about the samba mailing list