bugfindutils - Bugs: bug #38899, Find by Last Access Time Actually...


bug #38899: Find by Last Access Time Actually Modifies the Last Access Time by Itself

Submitted by:  None
Submitted on:  Sun 05 May 2013 06:48:07 PM UTC  
Category: findSeverity: 3 - Normal
Item Group: Wrong resultStatus: Invalid
Privacy: PublicAssigned to: James Youngman <jay>
Originator Name: alec leeOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 4.2.20
Fixed Release: None

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sun 02 Jun 2013 12:29:43 PM UTC, comment #2:

find reads directories, so on a file system with Unix semantics, it is expected that the access time is updated.

If find is modifying the access time of (non-driectory) files, then that is unexpected (for filesystems which are supposed to have Unix semantics, anyway).

find doesn't open files, apart from files associated with actions -fprintf, -fprint, and system configuration files such as /etc/fstab and /etc/passed. Hence file access times shouldn't be updated.

Since you're running find on Windows XP, you should start by talking to the GnuWin folks about why this is happening I think (this doesn't happen on filesystems with real Unix semantics). For now I'm going to mark the bug as not-valid, but if it turns out to be a bug in find rather than GnuWin, please feel free to re-open the bug.

James Youngman <jay>
Project AdministratorIn charge of this item.
Mon 06 May 2013 06:45:42 AM UTC, comment #1:

I'am talking about the GnuWin Version of find. Probably sourceforge rather than here is the proper place to report the bug.

Sun 05 May 2013 06:48:07 PM UTC, original submission:

find "C:/bin" ( -amin -15 ) -print

tested with version 4.2.20

Test done in windows XP where last access time update was enabled (attention NTFS last access time will only be updated if the last access time is > around 1hr ago). So advance the clock by 1 hr for every test.

The above command actually modifies the last access time by itself to the current time so all the files under c:/bin are always returned regardless of the files last access time.



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by jay (Posted a comment)
  • -unavailable- added by None (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 02 Jun 2013 12:29:43 PM UTCjayStatusNone=>Invalid
      Assigned toNone=>jay

    Back to the top

    Powered by Savane 3.1-cleanup1