Operating System - HP-UX
1833694 Members
3717 Online
110062 Solutions
New Discussion

Strange File Timestamp Issues For One User...

 
SOLVED
Go to solution
Lee Harris_1
Occasional Advisor

Strange File Timestamp Issues For One User...

One of our other support guys is having a very strange problem on 11.00 and 11.11 boxes. If he does an ll in a directory, the files all show timestamps that are 4 hours behind their real timestamp. If I logon to the same server and run ll in the same directory as him, I see everything with the correct timestamps, and his show exactly four hours behind.

We are both using exactly the same Terminal Emulation application, with the same settings and our Unix IDs are identical, both using the same profile, .cshrc, .exrc file etc etc.

Has anyone come across this sort of problem before?

Many Thanks - Lee
7 REPLIES 7
John Poff
Honored Contributor

Re: Strange File Timestamp Issues For One User...

Hi,

Could your friend somehow have a strange setting for his timezone? You could each do the 'date' command and see if you are both in the same time zone.

JP
Patrick Wallek
Honored Contributor

Re: Strange File Timestamp Issues For One User...

I would bet that he has a different timezone set.

Do an

$ echo $TZ

If it is not set to the appropriate time zone, reset it.

$ export TZ=???????

Where the ??????? is the appropriate timezone for you.
Lee Harris_1
Occasional Advisor

Re: Strange File Timestamp Issues For One User...

We both ran the date command on the same server and both get exactly the same date / time.
Lee Harris_1
Occasional Advisor

Re: Strange File Timestamp Issues For One User...

We both did this and both of us are set to GMT0BST which is correct.
Sundar_7
Honored Contributor

Re: Strange File Timestamp Issues For One User...

hmm interesting - did u check if he has aliased ll to show the access/ctime ?

# whence ll

post the output
Learn What to do ,How to do and more importantly When to do ?
Sundar_7
Honored Contributor
Solution

Re: Strange File Timestamp Issues For One User...

Sorry it is whence -v ll
Learn What to do ,How to do and more importantly When to do ?
Lee Harris_1
Occasional Advisor

Re: Strange File Timestamp Issues For One User...

Bingo...

I know what the problem is now. Thanks very much.

Regards - Lee