Operating System - HP-UX
1833294 Members
3241 Online
110051 Solutions
New Discussion

Re: Why file access/modification/status date reverts to May 1999?

 
Jim Diaz
New Member

Why file access/modification/status date reverts to May 1999?

According to a past posting, HP UX 10.2 Apollo 700 workstation files have three times in the i-node status: 1)time of last modification, 2)time of last access, and 3) time of last status change. Recently, on our HP Apollos, the time stamp displayed next to the files listed in a directory, (ie. time of last modification) has been resetting to May of 1999 upon a "vi", "cp", or a "chmod". Oddly, the DATE system command reports the correct date of Feb 7, 2001. Is this a bug? and if so, is there a patch to correct this bug?
Also, is there a command to verify access and status change timestamps?

Thanks in advance.
Jim
4 REPLIES 4
RikTytgat
Honored Contributor

Re: Why file access/modification/status date reverts to May 1999?

Hi,

1. Are you sure the hardware you mention is Y2K compliant?

2. Do you have all Y2K patches installed (seems kind of late!!)

3. Using the library call fstat, you can write a c-program that does exactly that.

Hope this helps,
Rik
Jim Diaz
New Member

Re: Why file access/modification/status date reverts to May 1999?

Rick,

Just installed a more recent Y2K patch bundle, and still I have a file time stamp anomolly. There must be a patch that address this problem. Being drive space is limited, our system adminstrator opts not to install complete general patch bundles.
Steven Sim Kok Leong
Honored Contributor

Re: Why file access/modification/status date reverts to May 1999?

Hi,

If you touch a file, what is the timestamp you are getting?

Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
Jim Diaz
New Member

Re: Why file access/modification/status date reverts to May 1999?

When I "touch" a file, the time stamp is set to the correct current time, ie. Feb 9, 05:42.

I also have noted that in root, the problem does not exist.