Why stat, li -lu in ubuntu do not update the file read or copy time?
-
Why stat, li -lu in ubuntu do not update the file read or copy time? Do they just update acces time when writing to a file? How to fix it? Clear cache like in php (clearstatcashe ())? If so, how to clean?Ubuntu Anonymous, Apr 11, 2019
-
There is no copying time in the file meta information. There is atime - access time (and stat itself does not update this information, and this is correct, because otherwise it would overwrite this data). There is ctime - the modification time of the attributes (access rights are there). There is the mtime of the last modification of the file. If there was a write to a file, then mtime changes without options.Anonymous
-
Anonymous
2 Answers
Your Answer
To place the code, please use CodePen or similar tool. Thanks you!