bug-coreutils
[Top][All Lists]
Advanced

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

Re: Bug in error when "mv" when you don't have access to source file


From: Jim Meyering
Subject: Re: Bug in error when "mv" when you don't have access to source file
Date: Mon, 26 Nov 2007 15:18:40 +0100

"Quintin Beukes" <address@hidden> wrote:
...
> Basically what it is, when you don't have write access or ownership of the
> source file, you can't move the file when your target directory is "." or
> "./", but instead of displaying "Permission denied" it displays "Not a
> directory".

Thanks for the report.
That's been fixed in snapshots only since 2007-10-05.
Here's the corresponding NEWS entry:

  A cross-partition "mv /etc/passwd ~" (by non-root) now prints
  a reasonable diagnostic.  Before, it would print this:
  "mv: cannot remove `/etc/passwd': Not a directory".




reply via email to

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