[Samba] recycle vfs module doesn't touch modification time

Toni Casueps casueps at hotmail.com
Wed Mar 8 10:29:44 GMT 2006

I have this in smb.conf:

vfs objects = recycle
recycle:repository = .recycle/%U
recycle:keeptree = yes
recycle:touch_mtime = yes

Files get moved to each user's subfolder inside .recycle, and the directory
tree where the deleted file lied gets created, but the modification time of
the file is preserved. I'm trying that they have the date where they were
deleted so that I can delete from the recycle folder files older than a
specified number of days.
I have tried setting also recycle:touch instead of recycle:touch_mtime or
activating both, but it doesn't work.

More information about the samba mailing list