The Samba-Bugzilla – Bug 4669
error occures around touch in vfs recycle.
Last modified: 2007-06-24 08:07:02 UTC
When removing file from WindowsXP, next message is recorded in log file:
[2007/05/30 13:34:10, 0] modules/vfs_recycle.c:recycle_do_touch(402)
recycle: touching .recycle/Windows/tmp/ipfit.c failed, reason = Invalid argument
This is always recorded when removing a file.
Before updating to 3.0.25 (using 3.0.24 and more older versions), this kind of errors are not recorded.
Settings concerning recycle vfs in smb.conf are following:
vfs objects = recycle
recycle:repository = .recycle
recycle:keeptree = 1
recycle:versions = 1
recycle:touch = 1
# recycle:touch_mtime = 1
recycle:maxsize = 100000000
recycle:exclude = *.tmp|*.o|*.obj|~$*
recycle:exclude_dir = /tmp|/cache
recycle:noversions = *.doc|*.xls|*.ppt
recycle:directory_mode = 0750
recycle:subdir_mode = 0750
Setting recycle:touch_mtime instead of recycle:touch does not produce errors,
but in both cases, times are not changed at all.
This problem is caused by wrong time specification in lib/time.c, and is already fixed by revision 23357.