Re: [Jfs-discussion] rsync: failed to set times on symbolic links
Brought to you by:
blaschke-oss,
shaggyk
From: Christian K. <li...@ne...> - 2007-11-16 12:39:19
|
On Wed, November 14, 2007 06:25, Dave Kleikamp wrote: > This is the first I've heard of this. I don't think Linux ever > supported setting the modification times on symlinks. Surely, I wouldn't > expect it to be supported in file-system specific code. I couldn't find a POSIX statement on utime() and symbolic links, only some IBM document[0], saying that utime() would resolve the symbolic links, hence modifying the targets, not the symlinks. And that's what I see on Linux/ext3 and on Solaris/ufs: $ ls -goE file.* -rw-r--r-- 1 0 2007-11-16 13:27:38.872916000 +0100 file.1 lrwxrwxrwx 1 6 2007-11-16 13:27:49.513237000 +0100 file.link -> file.1 $ touch file.link $ ls -goE file.* -rw-r--r-- 1 0 2007-11-16 13:28:22.191743000 +0100 file.1 lrwxrwxrwx 1 6 2007-11-16 13:27:49.513237000 +0100 file.link -> file.1 Christian. [0] http://publib.boulder.ibm.com/infocenter/iseries/v5r3/index.jsp?topic=/apis/utime.htm -- BOFH excuse #442: Trojan horse ran out of hay |