Bug 5322 - VFS:recycle touch not working
Summary: VFS:recycle touch not working
Status: RESOLVED DUPLICATE of bug 2194
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: VFS (show other bugs)
Version: 3.0.10
Hardware: x86 Linux
: P3 normal
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-13 12:08 UTC by kristofor Jensen
Modified: 2021-08-11 19:26 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
Comment 1 Björn Jacke 2021-08-11 19:26:44 UTC

*** This bug has been marked as a duplicate of bug 2194 ***