bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"mv a b/" when b does not exist


From: Tim Waugh
Subject: "mv a b/" when b does not exist
Date: Mon, 28 Nov 2005 16:52:52 +0000
User-agent: Mutt/1.4.2.1i

This:

rm -rf a b
mkdir a
mv a b/

fails on Linux with coreutils-5.93:

mv: target `b/' is not a directory: No such file or directory

In previous releases (such as 5.2.1) it has worked.  The rename() call
is also happy with the trailing slash.

Is this a regression, or an intentional change?

Original bug report:
  https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=174253

Tim.
*/

Attachment: pgpPvCLQ5TAK6.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]