Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have some problem with the file uploads in the my server, there is about 1% of the files with incorrect timestamp.

When i do a ls -l in the server i can see most files as below,

-rwxr-xr-x 1 liyx   psaadm 32657 Apr 28  2010 9948_9083_b.jpg

but there is some incorrect timestamp as well, like below

-rw-r--r-- 1 liyx psacln  3689 Jul  5 21:49 50351_28691_s.jpg

I dont know the cause of the problem, only few like 1% has this problem, my server is nginx as reverse proxy with apache 2.2, and i use the plesk. may be its the user psacln ? how to correct the incorrect timestamp and stop from this happening again ?

share|improve this question
I don't see a problem...Jul 5 is today (as of your post). If it's a new upload then...well... –  Nathan C Jul 6 '13 at 4:27
As Nathan is hinting, note that the timestamp will be the date/time that the file was added to the server, no necessarily when the original copy was created/ modified. –  lVlint67 Jul 6 '13 at 4:32

1 Answer 1

"Incorrect" is apparently a matter of opinion. The timestamp shows either (A) the most recent time the file was modified, or (B) the value of the most recent timestamp directly assigned to the file. It correctly displays whatever it was set to.

If you want to change the timestamp, you can use the touch command to do so. Presumably so process or some activity change the timestamp; so to prevent it in the futureyou have to track down what's happening and make it stop.

There is no general advice except check your logs (FTP logs, Apache logs, etc.) and look for anything that might give you a clue.

share|improve this answer

Your Answer


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.