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

Submitter:  None
Submitted:  Sun 05 May 2013 06:48:07 PM UTC
   
 
Category:  find Severity:  3 - Normal
Item Group:  Wrong result Status:  Invalid
Privacy:  Public Assigned to:  jay
Originator Name:  alec lee Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  4.2.20
Fixed Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group administrator
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.

Anonymous
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.

Anonymous

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-06-02 jay StatusNone Invalid
        Assigned toNone jay
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code