File ctime and mtime are different
Issue
- File
mtimeandctimeare different ls -lshows old timestamp- We are facing intermittent issues where the file attribute
Modifydoes not get updated andls -ldoes 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 instatthat theChangeattribute getting updated whenever the file contents are modified, but not theModifyattribute. 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.