Subject: Re: a file I can't delete
To: Jeremy C. Reed <reed@reedmedia.net>
From: Jeff Rizzo <riz@boogers.sf.ca.us>
List: netbsd-help
Date: 02/05/2002 10:05:43
On Tue, Feb 05, 2002 at 09:52:02AM -0800, Jeremy C. Reed wrote:
> On Tue, 5 Feb 2002, Jeff Rizzo wrote:
> > cricket# rm portmasters
> > override r-srws--x  1068804182/14316555 for portmasters? y
> > rm: portmasters: Operation not permitted
> 
> Do a "ls -lo portmasters" to see the file flags. If it doesn't have a "-"
> for the flags, look at the chflags(1) manual page. (Although I have never
> heard of an immutable or append-only device file.)

chflags did the trick (or at least it did once I got to securelevel 0).
I shudder to think what sort of disk corruption caused this... (it
was supposed to be an ordinary textfile, and I've certainly never set flags
before)

Thanks!
+j
-- 
Jeff Rizzo                                         http://boogers.sf.ca.us/~riz