Eric Blake <[EMAIL PROTECTED]> writes:

> According to Bob Proulx on 8/27/2007 6:55 PM:
>> There is no lutimes(2) call and therefore way way to set the times on
>> a symlink.  This is why touch does not have a -h option.  Since
>> lchmod(2) is available the chmod command has a -h option and uses it
>> to change the owner of the symlink.
>
> But note that the next revision of POSIX will be adding futimensat, which
> WILL support setting the (cosmetic) timestamp of symlinks.

It's already supported by Linux (since 2.6.22) and glibc (since 2.6).

Andreas.

-- 
Andreas Schwab, SuSE Labs, [EMAIL PROTECTED]
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to