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
system:
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.
Bob
_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils