mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
* NEWS: The recent rm-diagnostic fix also affects cross-partition "mv".
This commit is contained in:
1 parent
49e002db5e
commit
e2a6cbca3b
2 files changed
+10
-1
No files matched your search
@@ -1,5 +1,7 @@
|
||||
2007-09-24 Jim Meyering <jim@meyering.net>
|
||||
|
||||
* 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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user