I am looking to solve my issue with Samba recycle bin..
I have users a1, a2, and a3, they all belong to group companya.
A samba server with the following configuration.
[global] workgroup = WORKGROUP server string = %h server (Samba, Ubuntu) dns proxy = no log file = /var/log/samba/log.%m max log size = 1000 # for syslog logging the following parameter to something higher. syslog = 0 # Do something sensible when Samba crashes: mail the admin a backtrace panic action = /usr/share/samba/panic-action %d ####### Authentication ####### server role = standalone server passdb backend = tdbsam obey pam restrictions = no unix password sync = yes # For Unix password sync to work on a Debian GNU/Linux system, the following passwd program = /usr/bin/passwd %u [Company-A] comment = Company A Files path = /samba/share/companya guest ok = no browseable = yes create mask = 0775 directory mask = 0775 writable = yes valid users = +companya vfs object = recycle:recycle full_audit:audit recycle:repository = .trash/%U recycle:maxsize = 0 recycle:versions = Yes recycle:keeptree = Yes recycle:touch = No recycle:directory_mode = 0775
My issue is that I end up with the following after user a2 deletes his first file.
However when user a1 deletes a file... user a1's trash does not appear. Has anyone come across this before?
It seems like only the person who first deletes a first deletes a file gets a recycle bin.
I need to get each user their own folder without having to manually create them.