[Top][All Lists]

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

Re: coreutils 5.92, rm <dir> on Solaris, bad error message

From: Bob Proulx
Subject: Re: coreutils 5.92, rm <dir> on Solaris, bad error message
Date: Mon, 31 Oct 2005 23:35:54 -0700
User-agent: Mutt/1.5.9i

Keith Thompson wrote:
> % mkdir tmpdir
> % ls -ld tmpdir
> drwxr-xr-x 2 kst sys200 117 Oct 31 19:38 tmpdir
> % rm tmpdir
> rm: cannot remove `tmpdir': Not owner
> Obviously "rm tmpdir" shouldn't succeed, but the error message is
> incorrect (in fact, I am the owner of the directory, and both
> "rmdir tmpdir" and "rm -r tmpdir" work correctly).

Thanks for the bug report.  Would it be possible for you to provide
some more information?  Can you strace the program and see what the
system returns when rm tries to unlink the file?  For example on my

  strace rm tmpdir 2>&1 | grep unlink
  unlink("tmpdir")                        = -1 EISDIR (Is a directory)

If the output does not make sense it is okay to send the entire
output to the list as long as it is not too big.  At that point in the
program operation it should simply be returning the system error.


reply via email to

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