I have a ubuntu 10.04 system in a openvz contaioner.
now, I get a problem of the time & time zone.
I have change my timezone to Asia/Shanghai by the command:
sudo dpkg-reconfigure tzdata
and it get work when I run command:
~$ date
2013年 02月 24日 星期日 12:00:05 CST
But if I touch a file, the file's modifier time is in the future!
~$ touch somefile
~$ ls -l
total 1
-rw-r--r-- 1 chen chen 0 2013-02-24 20:07 somefile
Note that the new touched file somefile
has a 8 hours future time!! how it happend!!
~$ ls --full-time
total 1
-rw-r--r-- 1 chen chen 0 2013-02-24 20:07:33.340285883 +0800 somefile