Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Why is the file last changed time dated earlier than time shown by the previous date command?

$ date
Fri May 17 13:41:11 MDT 2013
$ touch other.rst 
$ ll other.rst 
-rw-r--r-- 1 ondrej cnls 59261 May 17 13:39 other.rst

This disrupts my make cycle, as my latest changes are not picked up sometimes...

Here is some info about my computer:

$ uname -a
Linux kittiwake 3.2.0-35-generic #55-Ubuntu SMP Wed Dec 5 17:42:16 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

The filesystem is NFS-mounted. That might be the problem.

share|improve this question
add comment

1 Answer

This has been fixed by our admin --- the date on the NFS server was two minutes behind my own computer time. Syncing the time on the NFS server fixed the issue:

$ date
Fri May 17 13:54:32 MDT 2013
$ touch other.rst 
$ ll other.rst 
-rw-r--r-- 1 ondrej cnls 59261 May 17 13:54 other.rst

Now things work.

Interesting, I didn't know there could be such an issue.

share|improve this answer
1  
Such issues were common in the previous century. Tell your admins to get their acts together and run ntpd on the servers (and on all your workstations and pcs). –  Wandering Logic May 17 '13 at 21:39
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.