Subject: Re: bug#7122: touch (GNU coreutils) 7.4 - no way to touch a symlink

From: Eric Blake <[email-masked]>
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   [email-masked]    +1-801-349-2682
Libvirt virtualization library http://libvirt.org