Bug 2194 - recycle touch fix
recycle touch fix
Product: Samba 3.0
Classification: Unclassified
Component: File Services
All Linux
: P3 normal
: none
Assigned To: Samba Bugzilla Account
Samba QA Contact
Depends on:
  Show dependency treegraph
Reported: 2004-12-27 07:13 UTC by Björn Jacke
Modified: 2005-06-26 17:06 UTC (History)
0 users

See Also:

fix for recycle's touch fetaure (485 bytes, patch)
2004-12-27 07:14 UTC, Björn Jacke
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Björn Jacke 2004-12-27 07:13:40 UTC
attached is a fix for the touch feature of recycle. Can someone please apply
that fix?
Comment 1 Björn Jacke 2004-12-27 07:14:38 UTC
Created attachment 870 [details]
fix for recycle's touch fetaure
Comment 2 Volker Lendecke 2005-01-03 09:26:25 UTC
Hi, Björn!

As far as I read the recycle touch feature, this is meant to only update the
"last access" time, not the "last modify" time. In the XP explorer you can
select to show the last access time and then sort by this.

Could you please check that this works together with the recycle touch feature?

Closing this bug, please reopen if it does not work with the last access time.

Comment 3 Surakshan Mendis 2005-01-21 04:44:18 UTC
is it not wiser to do the touch the modified time rather than the access time?
It depends on the goals, but I was thinking of using the touch feature to set
the time so that a script can delete files X days old. But the way windows is,
just opening a folder can modifiy the access time, thus modified time or created
time is more of a benifit?
Comment 4 Björn Jacke 2005-01-21 06:39:35 UTC
I didn't investigate here much more but if a Windows explorer access really
changes the atime it would really in fact be better to change mtime. Changing
mtime of de facto *deleted* files should not hurt.
Comment 5 Björn Jacke 2005-06-26 17:06:23 UTC
for the files: Günther addressed this also by adding recycle:touch_mtime.
Thanks gd :)