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 etcDo 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
Am 19.01.21 um 11:39 schrieb Rowland penny via samba:> On 19/01/2021 10:25, Stefan G. Weichinger via samba wrote: >>> 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 etcok. Any other way to implement such a confirmation?>>> So I have to come up with some combination of ACLs etc > Do you use the recycle bin ?No, not yet. Worth a try, thanks.>> 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.confGreat, will do, thanks.