-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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. While draft 3 of the next POSIX revision does not mandate the addition of anything like touch -h, it also does not forbid it, so there is a good chance that we will be adding something along these lines once more systems implement futimensat. To learn more about the next revision of POSIX, including reading draft 3, you must be a member of the Austin group (membership is free, http://www.opengroup.org/austin/lists.html) - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFG03yJ84KuGfSFAYARAsPQAJ9XG+dSaSS2wZs5uvRjBlshkrsEtACeMK4r Ig2oBME4c2KsrIEJeSd3cMc= =L237 -----END PGP SIGNATURE----- _______________________________________________ Bug-coreutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-coreutils
