File ctime and mtime are different
Issue
- File
mtime
andctime
are different ls -l
shows old timestamp- We are facing intermittent issues where the file attribute
Modify
does not get updated andls -l
does not show the updated timestamp even when the file contents are changed. We have a ftp job which depends on the file timestamp for fetching the files and are failing. We can see instat
that theChange
attribute getting updated whenever the file contents are modified, but not theModify
attribute. The first and last line of the file also has the information about when the file was last updated.
Environment
- Red Hat Enterprise Linux
- Files
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.