summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2006-10-14 05:20:27 +0000
committerJim Meyering <jim@meyering.net>2006-10-14 05:20:27 +0000
commit0dc7f789861bedfa74639b89be8c3c4e8b3b6490 (patch)
treea10e74951ace317aacfad47febcc83e566fa31d0 /NEWS
parent779168820b3a002ead47e2ad79e15ab68018fc0b (diff)
downloadcoreutils-0dc7f789861bedfa74639b89be8c3c4e8b3b6490.tar.xz
* NEWS: cp -r --backup dir1 dir2, would rename an existing dir1/dir2
to dir1/dir2~. * src/copy.c (copy_internal): Although we do create a backup of each destination directory when in move mode, don't do that when copying. Reported by Peter Breitenlohner, in <http://article.gmane.org/gmane.comp.gnu.core-utils.bugs/8616>. * tests/cp/backup-dir: New file. Test for the above.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index e7195f6b3..5959960dd 100644
--- a/NEWS
+++ b/NEWS
@@ -9,6 +9,9 @@ GNU coreutils NEWS -*- outline -*-
--from=o:g (chown only). This bug was introduced with the switch to
gnulib's openat-based variant of fts, for coreutils-6.0.
+ cp --backup dir1 dir2, would rename an existing dir1/dir2 to dir1/dir2~.
+ This bug was introduced in coreutils-6.0.
+
With --force (-f), rm no longer fails for ENOTDIR.
For example, "rm -f existing-non-directory/anything" now exits
successfully, ignoring the error about a nonexistent file.