[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: |
Paul Eggert |
Subject: |
Re: coreutils 5.92, rm <dir> on Solaris, bad error message |
Date: |
Tue, 01 Nov 2005 16:46:00 -0800 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) |
address@hidden (Bob Proulx) writes:
> Can you strace the program and see what the
> system returns when rm tries to unlink the file?
Here's what I got on a Solaris 8 system:
lstat("junk", 0xFFFFFFFF7FFFF050) = 0
access("junk", 10) = 0
getuid() = 5823 [5823]
unlink("junk") Err#1 EPERM
and then rm reported the EPERM message. EPERM is bogus, but that's
what Solaris does (and what Unix has done for ages -- Linux gets it
right but Unix doesn't). Most likely we need to redo the
error-handling case for rm.