[Samba] confirm deletion - possible?

Stefan G. Weichinger lists at xunil.at
Thu Jan 21 08:47:17 UTC 2021

Am 20.01.21 um 18:05 schrieb Andrew Walker:

> As a user I've _never_ hastily clicked through dialog boxes that kept 
> popping up, which were preventing me from doing $thing only to realize a 
> moment later that I had deleted $reallyimportantthing. :))).
> Sounds like you're on a good path. If you go with the recycle bin idea, 
> you can make your repository something like "recycle:repository = 
> .recycle/%U", which will basically create per-user recycle bins. This 
> will help to track down the offending user as well as preserving the file.

Nice, thanks. But they wish for another behavior:

the deleted files should be recoverable by only 2 users ... I think this 
won't be possible with this vfs module.

I play with
recycle:directory_mode = 770

to at least let one user see the deleted stuff of others.

More information about the samba mailing list