mv: clarify ‘mv -n A A’ change

This commit is contained in:
Paul Eggert committed 2018-01-10 00:51:54 -08:00
1 parent bedd9bb652
commit 4bc50727f0
1 file changed
+2 -1
+2 -1
View File
@@ -7,7 +7,8 @@ GNU coreutils NEWS -*- outline -*-
'mv -n A B' no longer suffers from a race condition that can
overwrite a simultaneously-created B. This bug fix requires
platform support for the renameat2 or renameatx_np syscalls, found
in recent Linux and macOS kernels.
in recent Linux and macOS kernels. As a side effect, ‘mv -n A A’
now silently does nothing if A exists.
[bug introduced with coreutils-7.1]
'cp -n -u' and 'mv -n -u' now consistently ignore the -u option.