From: Paul Eggert Date: Wed, 10 Jan 2018 08:48:51 +0000 (-0800) Subject: mv: clarify ‘mv -n A A’ change X-Git-Tag: v8.30~57 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4bc50727f0198999936276b8df9f4abdbd5d8b0d;p=thirdparty%2Fcoreutils.git mv: clarify ‘mv -n A A’ change --- diff --git a/NEWS b/NEWS index b7ec20085f..8a9e09eb4f 100644 --- a/NEWS +++ b/NEWS @@ -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.