diff options
author | Jim Meyering <jim@meyering.net> | 2007-03-12 14:26:24 +0100 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2007-03-12 14:26:24 +0100 |
commit | 64f972e94beafc4cedf42b2df6962062ecf265ea (patch) | |
tree | 8bd8c448acc96dd6696aca41be18bc2a79ff7cde /doc | |
parent | 1e7a0f088b2704dab15c8b513773f7014fdf64ed (diff) | |
download | coreutils-64f972e94beafc4cedf42b2df6962062ecf265ea.tar.gz coreutils-64f972e94beafc4cedf42b2df6962062ecf265ea.tar.bz2 coreutils-64f972e94beafc4cedf42b2df6962062ecf265ea.zip |
* coreutils.texi (cp invocation): Mention that --preserve=timestamps
doesn't preserve time stamps on symbolic links.
Reported by Polo Talnir in <https://bugzilla.redhat.com/230866>.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ChangeLog | 6 | ||||
-rw-r--r-- | doc/coreutils.texi | 8 |
2 files changed, 13 insertions, 1 deletions
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 <jim@meyering.net> + + * coreutils.texi (cp invocation): Mention that --preserve=timestamps + doesn't preserve time stamps on symbolic links. + Reported by Polo Talnir in <https://bugzilla.redhat.com/230866>. + 2007-02-27 Paul Eggert <eggert@cs.ucla.edu> * 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. |