Bug 4669 - error occures around touch in vfs recycle.
error occures around touch in vfs recycle.
Product: Samba 3.0
Classification: Unclassified
Component: VFS
x86 FreeBSD
: P3 normal
: none
Assigned To: Samba Bugzilla Account
Samba QA Contact
Depends on:
  Show dependency treegraph
Reported: 2007-05-30 00:20 UTC by Tsurutani Naoki
Modified: 2007-06-24 08:07 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Tsurutani Naoki 2007-05-30 00:20:31 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.
Comment 1 Tsurutani Naoki 2007-06-24 08:07:02 UTC
This problem is caused by wrong time specification in lib/time.c, and is already fixed by revision 23357.