bug-coreutils
[Top][All Lists]
Advanced

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

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


From: Keith Thompson
Subject: coreutils 5.92, rm <dir> on Solaris, bad error message
Date: Mon, 31 Oct 2005 19:48:47 -0800
User-agent: Mutt/1.4.1i

On solaris 9:

% uname -a
SunOS elmak 5.9 Generic_117171-17 sun4u sparc SUNW,Sun-Blade-100 Solaris
% rm --version | head -1
rm (GNU coreutils) 5.92
% 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).

This problem occurs under coreutils 5.90 and 5.91, but under 5.2.1
and 5.3.0 it correctly gives:

rm: cannot remove directory `tmpdir': Is a directory

On a Linux-x86 system, this problem doesn't occur under any version
of coreutils I've tried ( 5.2.1, 5.3.0, 5.90, 5.91, 5.92); they
all correctly give:

rm: cannot remove `tmpdir': Is a directory

-- 
Keith Thompson <address@hidden>
We must do something.  This is something.  Therefore, we must do this.




reply via email to

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