diff options
author | Jim Meyering <jim@meyering.net> | 2007-09-24 16:33:35 +0200 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2007-09-24 16:33:35 +0200 |
commit | e2a6cbca3ba9f2a198c741a1fec6f27c6cb198d8 (patch) | |
tree | 19fef91b2734e1a48ea0616750994fcd65f794e8 /NEWS | |
parent | 49e002db5e8282d060190e3c1ea27a796349c4b1 (diff) | |
download | coreutils-e2a6cbca3ba9f2a198c741a1fec6f27c6cb198d8.tar.xz |
* NEWS: The recent rm-diagnostic fix also affects cross-partition "mv".
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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 |