Hi, it would be nice if Webmin could enable and configure the “Recycle bin” VFS module on Samba shares, which is part of the samba-vfs-modules package in Debian / Ubuntu. This functionality is described here (sorry, not a clickable link to avoid hitting the Discourse spam filters with my new user account):
The first link to the Samba documentation for this functionality was outdated, here’s the latest:
This is the manual configuration that I added per share. For my public share that has guest access I added this to the Samba config file via the Webmin interface:
For the homes share that only allows authenticated user access I used this config to create a homes/[username]/.recycle directory for each user (I can’t find the username wildcard in the official Samba documentation, elsewhere I’ve see both %u and %U, but at any rate my example works):