bin/72124: [patch] rm -P can't unlink u-w files
Ceri Davies
ceri at submonkey.net
Mon Dec 6 04:30:33 PST 2004
The following reply was made to PR bin/72124; it has been noted by GNATS.
From: Ceri Davies <ceri at submonkey.net>
To: FreeBSD Gnats Submit <freebsd-gnats-submit at FreeBSD.org>
Cc:
Subject: Re: bin/72124: [patch] rm -P can't unlink u-w files
Date: Mon, 6 Dec 2004 12:21:57 +0000
On Sun, Dec 05, 2004 at 04:20:26PM +0000, Bugghy wrote:
> $ touch 1;chmod 0 1;ls -l 1
> ---------- 1 bugghy bugghy 0 Dec 5 18:14 1
> $ /bin/rm -Pf 1
> rm: 1: Permission denied
>
> So, I still consider this a bug.
I didn't say that it *would* do what you wanted - only that "perhaps
it should". In hindsight I don't believe that anymore.
There is nothing in the manual that suggests that this will work, and
therefore I don't think that this is a bug. The PR is still open for a
second opinion.
Ceri
More information about the freebsd-bugs
mailing list