[Samba] confirm deletion - possible?
Stefan G. Weichinger
lists at xunil.at
Thu Jan 21 10:01:57 UTC 2021
Am 21.01.21 um 09:47 schrieb Stefan G. Weichinger via samba:
> 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.
I now follow a howto I found:
the idea is:
* hide .Trash via "veto files"
* share .Trash for a defined list of "valid users" as separate share
looks promising, I wait for the user there to test my first draft
More information about the samba