Re: date hashlist
Bernhard Walle <[email protected]> Sat, 9 Apr 2011 16:44:12 +0200
| Newsgroups | gmane.linux.suse.programming |
|---|---|
| Message-ID | <20110409144412.GA29333@regiomontanus> |
* Thomas Moritz <[email protected]> [2011-04-09 16:32]: > Scheinbar nein :-( >=20 > There may be no way to change the timestamps of a symbolic link with a > compiled C program. :-) >=20 > The operating system kernel supplies an interface to change the > ownership of a symbolic link with lchown(2) but does not supply any > interface to change the timestamp of a symbolic link (no lutime(2) or > lutimes(2) exists) and therefore what you are asking for is not > supported by the operating system kernel. The only way I know to do > this on BSD like systems is to remove and recreate the symlink. Linux ist aber nicht BSD. Die lutimes()-Funktion gibt es seit glibc 2.6 und Kernel 2.6.22 und touch scheint es mit der Option -h auch zu k=F6nnen= . Wie immer ungetestet. Gru=DF, Bernhard --=20 To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]= g