From 64f972e94beafc4cedf42b2df6962062ecf265ea Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 12 Mar 2007 14:26:24 +0100 Subject: * coreutils.texi (cp invocation): Mention that --preserve=timestamps doesn't preserve time stamps on symbolic links. Reported by Polo Talnir in . --- doc/ChangeLog | 6 ++++++ doc/coreutils.texi | 8 +++++++- 2 files changed, 13 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/ChangeLog b/doc/ChangeLog index f296614f0..bdae8a225 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,9 @@ +2007-03-12 Jim Meyering + + * coreutils.texi (cp invocation): Mention that --preserve=timestamps + doesn't preserve time stamps on symbolic links. + Reported by Polo Talnir in . + 2007-02-27 Paul Eggert * coreutils.texi (df invocation): With -P, the default block size diff --git a/doc/coreutils.texi b/doc/coreutils.texi index 23451fe73..683952451 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -7030,7 +7030,13 @@ and ordinary users may preserve the group ownership of a file only if they happen to be a member of the desired group. @itemx timestamps -Preserve the times of last access and last modification. +Preserve the times of last access and last modification, when possible. +In general, it is not possible to preserve these attributes +when the affected file is a symbolic link. +However, FreeBSD now provides the @code{lutimes} function, which makes +it possibile even for symbolic links. However, this implementation does +not yet take advantage of that. +@c FIXME: once we provide lutimes support, update the above. @itemx links Preserve in the destination files any links between corresponding source files. -- cgit v1.2.3-54-g00ecf