Bug 5322 - VFS:recycle touch not working
VFS:recycle touch not working
Status: NEW
Product: Samba 3.0
Classification: Unclassified
Component: VFS
3.0.10
x86 Linux
: P3 normal
: none
Assigned To: Samba Bugzilla Account
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-03-13 12:08 UTC by kristofor Jensen
Modified: 2008-03-13 12:08 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kristofor Jensen 2008-03-13 12:08:24 UTC
Given the following in /etc/samba/smb.conf on CentOS (kernel 2.6.9-42) I have a fully functioning and recycle-bin-protected 'data' share.  While writing a script to automatically erase old items out of the recycle bin I noticed that the 'recycle:touch = yes' parameter doesn't seem to be working.  The files are simply moved to the .Trash_Can/U% directory with the last modified date.  

[data]
path = /data
force create mode = 0775
force directory mode = 0775
writeable = yes
browsable = yes
printable = no

vfs object = recycle
recycle:repository = .Trash_Can/%U
recycle:keeptree = yes
recycle:touch = yes
recycle:versions = yes
recycle:maxsize = 100000000
recycle:exclude = *.tmp ~*.doc ~*.dot
recycle:exclude_dir = /tmp
recycle:noversions = *.doc *.xls

[backups]
path = /backups
force create mode = 0775
force directory mode = 0775
writeable = yes
browsable = yes
printable = no