|
From: | Eric Blake |
Subject: | bug#7122: touch (GNU coreutils) 7.4 - no way to touch a symlink |
Date: | Tue, 28 Sep 2010 08:12:50 -0600 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100921 Fedora/3.1.4-1.fc13 Mnenhy/0.8.3 Thunderbird/3.1.4 |
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 address@hidden +1-801-349-2682 Libvirt virtualization library http://libvirt.org
[Prev in Thread] | Current Thread | [Next in Thread] |