"Quintin Beukes" <[EMAIL PROTECTED]> 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".


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to