I'm using the samba recycle plugin and have the following in my [global] section
recycle:exclude = *.~lock*
recycle:repository = .recycled
recycle:versions = yes
recycle:keeptree = yes
vfs objects = recycle
I would like to disable this feature for a particular share. I've tried putting vfs objects =
within the share definition, but this has no effect. I've also tried putting recycle:exclude = *
inside the share definition, but this didn't work either. And finally I tried setting (in the [global] section) recycle:exclude_dir = /home/path/to/my/dir/
which looked promising from the man page
I understand how to disable .recycle completely but this is not what I want.
[edit suggested by helpful commenter below!]
The path in question is monitored by a Dropbox daemon. This is why I don't want a Recycle bin – it will effectively cause a 2nd bandwidth-hogging upload, and the .recycled/ copy is unnecessary because Dropbox versions files anyway.
Best Answer
There's a bit of a work around, just assign permissions 000 to the recycle bin folder on your share, it will still be there, but no files will be written into it. I had to do this on my backups folder, because Windows writes and then deletes so many files backing up.