The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > AIX
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #5 (permalink)  
Old 05-27-2008
rcarnesiii rcarnesiii is offline
Registered User
 

Join Date: Aug 2005
Posts: 9
Sounds like someone is trying to do something fishy "file should appear as if it has not been modified" . Anyways, I have a question about the modification time for a symbolic link.

foo.c -> apps/gendev/src/foo.c

the timestamp on apps/gendev/src/foo.c is say 'May 27 11:37'

the timestamp on foo.c (which points to the source file) is 'May 27 10:42' which is when the link was created. Everytime I edit foo.c from my directory the timestamp on apps/gendev/src/foo.c is updated which I understand because I am really modifying that file. I want to know if there is a way to modify the timestamp on the link without relinking the file?

Thanks
Reply With Quote