From: Jim Meyering Date: Mon, 24 Sep 2007 14:33:35 +0000 (+0200) Subject: * NEWS: The recent rm-diagnostic fix also affects cross-partition "mv". X-Git-Tag: v6.9.89~97 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e2a6cbca3ba9f2a198c741a1fec6f27c6cb198d8;p=platform%2Fupstream%2Fcoreutils.git * NEWS: The recent rm-diagnostic fix also affects cross-partition "mv". --- diff --git a/ChangeLog b/ChangeLog index 6b31a4f..8fb3254 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2007-09-24 Jim Meyering + * NEWS: The recent rm-diagnostic fix also affects cross-partition "mv". + copy.c: Remove definitions of factored-out functions. * src/copy.c: Include "file-set.h". (seen_file, record_file): Remove functions that I factored diff --git a/NEWS b/NEWS index e8e20e0..35eefaa 100644 --- a/NEWS +++ b/NEWS @@ -204,7 +204,14 @@ GNU coreutils NEWS -*- outline -*- "rm -rf D" would emit an misleading diagnostic when failing to remove a symbolic link within the unwritable directory, D. - Introduced in coreutils-6.0. + Introduced in coreutils-6.0. Similarly, when a cross-partition + "mv" fails because the source directory is unwritable, it now gives + a reasonable diagnostic. Before, this would print + $ mkdir /tmp/x; touch /tmp/x/y; chmod -w /tmp/x; + $ test $(stat -c %d /tmp/x) -ne $(stat -c %d .) && mv /tmp/x/y . + mv: cannot remove `/tmp/x/y': Not a directory + Now it prints this: + mv: cannot remove `/tmp/x/y': Permission denied. ** New features