GNU bug report logs - #7122
touch (GNU coreutils) 7.4 - no way to touch a symlink

Previous Next

Package: coreutils;

Reported by: Peter Bailey <baileyp <at> gmail.com>

Date: Tue, 28 Sep 2010 10:33:02 UTC

Severity: normal

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 7122 in the body.
You can then email your comments to 7122 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-coreutils <at> gnu.org:
bug#7122; Package coreutils. (Tue, 28 Sep 2010 10:33:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Peter Bailey <baileyp <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Tue, 28 Sep 2010 10:33:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Peter Bailey <baileyp <at> gmail.com>
To: bug-coreutils <at> gnu.org
Subject: touch (GNU coreutils) 7.4 - no way to touch a symlink
Date: Tue, 28 Sep 2010 02:51:23 -0700
There are reports that the BSD version of touch has a -h option which
will make it update the timestamp of a symlink rather than the target
of that symlink.  As it is, there's no way to update the timestamp on
a symlink itself.




Information forwarded to owner <at> debbugs.gnu.org, bug-coreutils <at> gnu.org:
bug#7122; Package coreutils. (Tue, 28 Sep 2010 14:11:01 GMT) Full text and rfc822 format available.

Message #8 received at 7122 <at> debbugs.gnu.org (full text, mbox):

From: Eric Blake <eblake <at> redhat.com>
To: Peter Bailey <baileyp <at> gmail.com>
Cc: 7122 <at> debbugs.gnu.org
Subject: Re: bug#7122: touch (GNU coreutils) 7.4 - no way to touch a symlink
Date: Tue, 28 Sep 2010 08:12:50 -0600
On 09/28/2010 03:51 AM, Peter Bailey wrote:
> There are reports that the BSD version of touch has a -h option which
> will make it update the timestamp of a symlink rather than the target
> of that symlink.  As it is, there's no way to update the timestamp on
> a symlink itself.

Consider upgrading.  'touch -h' support was added in coreutils 8.1; the 
latest stable version is 8.5.

Meanwhile, 'touch -h' requires a new enough kernel (one that has full 
utimensat support).

-- 
Eric Blake   eblake <at> redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org




Reply sent to Pádraig Brady <P <at> draigBrady.com>:
You have taken responsibility. (Tue, 28 Sep 2010 14:22:02 GMT) Full text and rfc822 format available.

Notification sent to Peter Bailey <baileyp <at> gmail.com>:
bug acknowledged by developer. (Tue, 28 Sep 2010 14:22:02 GMT) Full text and rfc822 format available.

Message #13 received at 7122-done <at> debbugs.gnu.org (full text, mbox):

From: Pádraig Brady <P <at> draigBrady.com>
To: Peter Bailey <baileyp <at> gmail.com>
Cc: 7122-done <at> debbugs.gnu.org
Subject: Re: bug#7122: touch (GNU coreutils) 7.4 - no way to touch a symlink
Date: Tue, 28 Sep 2010 15:23:30 +0100
On 28/09/10 10:51, Peter Bailey wrote:
> There are reports that the BSD version of touch has a -h option which
> will make it update the timestamp of a symlink rather than the target
> of that symlink.  As it is, there's no way to update the timestamp on
> a symlink itself.

Done in V8.1
http://git.savannah.gnu.org/gitweb/?p=coreutils.git;a=commit;h=9e13b6a0

cheers,
Pádraig.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 27 Oct 2010 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 14 years and 296 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.