Subject: Re: undoing chflags schg ?
To: None <y0001006@ws.rz.tu-bs.de>
From: Andrew Brown <codewarrior@daemon.org>
List: netbsd-help
Date: 04/16/1997 13:44:40
>I probably did a stupid thing: I did "chflags schg /netbsd". Now 
>I can't move or delete that file. 

oops...he heh!  :)

>The question: How do I undo the above operation, if I try
>"chflags noschg /netbsd" I simply get "Permission denied", 
>with rm it's the same.

kill -1 1 (to tell init to take you back to single-user/securelevel 0)
and then you can remove the flag.

-- 
|-----< "CODE WARRIOR" >-----|
andrew@echonyc.com (TheMan)        * "ah!  i see you have the internet
codewarrior@daemon.org                               that goes *ping*!"
warfare@graffiti.com      * "information is power -- share the wealth."