[NTLUG:Discuss] changing timestamp on symbolic link?

Kenneth Loafman ken at lt.com
Wed Mar 12 09:24:16 CST 2003


Lance Simmons wrote:
> I'd like to change the timestamp on a link (hard or symbolic, I don't
> care which) without changing the timestamp on the target.
> 
> Does anyone know how to do that?  
> 
> If it's impossible, why do symbolic links have timestamps at all?


It's not possible without editing the inode of the symbolic link itself 
and that's not something I would do except in an emergency.  Inodes have 
changed a lot over the last few years and my memory is problematic.

It has a timestamp because its a file, like a directory, or a pipe.

...Ken








More information about the Discuss mailing list