[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #51069] find changes access time on directories
From: |
James Youngman |
Subject: |
[bug #51069] find changes access time on directories |
Date: |
Sat, 20 May 2017 08:32:16 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.110 Safari/537.36 |
Update of bug #51069 (project findutils):
Assigned to: None => jay
_______________________________________________________
Follow-up Comment #1:
The access time of the directory is being updated by the kernel when find
reads the directory to search it. POSIX requires this.
If find offered an extension which saved and restored the st_atime in
directories, then the step of restoring the st_actime timestamp would
(unavoidably, I believe, because of the way utimes is specified) update the
st_ctime timestamp. That is, if anything, worse.
If you want access times not to be updated, your best bet is to mount the file
system read-only, or (if the kernel is Linux) to use the noatime mount option.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?51069>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/