The Samba-Bugzilla – Bug 10666
Recycle bin doesn't work
Last modified: 2014-10-13 10:46:21 UTC
Created attachment 10044 [details]
Delete log as requested in the developers mailinglist.
I'm currently have a ZFS NAS setup similar to this:
All are separate ZFS filesystems.
My samba configuration (relevant part) looks like this:
path = /data/%U
vfs objects = recycle
recycle:repository = /data/recycle/%U
recycle:keeptree = yes
recycle:versions = yes
recycle:touch = yes
recycle:maxsize = 0
path = /data/recycle/%U
When running a default manually compiled Samba 3.5.11, this all works without issues. All files that are removed from any folder in /data/%U/* are moved to the /data/recycle/%U folder. However, this ONLY works with Samba 3.5.11. In any later version (and I believe also previous versions) this doesn't work anymore.
Was solved by adding the crossrename vfs module. However, as posted in the other thread reporting the same bug: where is the documentation on this?!?
*** This bug has been marked as a duplicate of bug 8637 ***