GNU bug report logs - #9823
request for more correct error reporting of mv

Previous Next

Package: coreutils;

Reported by: francky.leyn <at> telenet.be

Date: Fri, 21 Oct 2011 12:48:02 UTC

Severity: normal

Tags: moreinfo

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Assaf Gordon <assafgordon <at> gmail.com>
To: "9823 <at> debbugs.gnu.org" <9823 <at> debbugs.gnu.org>
Subject: bug#9823: request for more correct error reporting of mv
Date: Mon, 22 Oct 2018 21:15:52 -0600
close 9823
stop

(triaging old bugs)

On 25/10/11 12:39 AM, Voelker, Bernhard wrote:
> Eric Blake wrote:
>> Like I said earlier, POSIX allows either ENOTEMPTY or EEXIST, and Linux
>> happened to choose ENOTEMPTY.  Maybe special-casing that error and
>> converting to EEXIST would produce better output.  But someone would
>> have to submit a patch.
> 
> I think mv is right to say "Directory not empty". Let's look at
> the opposite example, i.e. where the destination _is_ empty:

Given the above, and no further comments in 7 years,
I'm closing this bug.

-assaf





This bug report was last modified 6 years and 299 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.