I'm trying to clear out how the timestamps of a file on linux work.
In this answer is stated:
Modify - the last time the file was modified (content has been modified)
Change - the last time meta data of the file was changed (e.g. permissions)
but every time I change the file contents the ctime is also altered. It leads to me to think that it's like a change reaction:
- The change in file contents triggers a change in mtime
- The change in mtime (file metadata) triggers a change in ctime
If that's true, then ctime will allways be >= than mtime.
Is this assumption correct on every situation? (assuming the system time is never altered manually)