[Samba] confirm deletion - possible?
Stefan G. Weichinger
lists at xunil.at
Wed Jan 20 12:08:48 UTC 2021
Am 19.01.21 um 15:40 schrieb Peter Milesson via samba:
> It's really strange that you don't get a confirmation dialog from
> Windows 10. I have got an ancient stand alone Samba server ver. 4.0.9,
> kernel 3.11.0, OS Slackware 14.0. It's really ancient stuff. I use it
> frequently from Windows 10 (20H2), and Windows always asks if I want to
> delete the file permanently. Mounting a share on the box from Linux, I
> will get the confirmation question if the OS is setup in that way
> (CentOS default). Other Linuxes just delete the files without further
> nagging. Total Commander in Android also asks politely. So it's a client
Ah, interesting, thanks.
In this case I can only believe what the users tell me. They access the
shares from some thin clients, and these are AD-members in the ADS of
the "large company", while their samba-server is in a separated subnet
which I run for that one "department".
So I don't have access to the TCs to check things, I could only test it
with some windows PC from my place (which definitely runs other group
> As was suggested previously, using some kind of network recycle bin may
> be a good idea to protect files from disappearing permanently (also keep
> good backups, if the files may be valuable).
Yes, I suggested that already. And I assume they will want me to turn
that on soon.
I also run rsnapshots on the filesystems below the shares ... plus
backups to tape.
It's not that I/we don't have layers of backups, they want some rules in
place to avoid mistakes from the start.
More information about the samba