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

Toni Casueps
2006-03-08T10:29:58Z

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.