Date: Wed, 27 Jan 1999 06:58:53 -0600 (CST) From: "Paul T. Root" <proot@horton.iaces.com> To: peter@sweda.com.hk (peter kok) Cc: questions@FreeBSD.ORG (Questions FreeBSD) Subject: Re: Unremovable file? Message-ID: <199901271258.GAA05182@horton.iaces.com> In-Reply-To: <36AE94B0.508CFA46@sweda.com.hk> from peter kok at "Jan 27, 99 12:23:13 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
In a previous message, peter kok said: > Hello Paul > > Why does a file need to change flag? I wouldn't think it would. I would guess that it was a mistake. But that is the error message you get when you try to remove a file with schg flag set. Paul. > "Paul T. Root" wrote: > > > In a previous message, Chris Martino said: > > > I am root... > > > stupid:/var/log/ % id > > > uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel) > > > > > > C > > > -- > > > This is my sig. Fear it! > > > > > > On Tue, 26 Jan 1999, Mark Ovens wrote: > > > > > > > Chris Martino wrote: > > > > > > > > > > I tried that before posting to the list, here is it's output: > > > > > > > > > > stupid:/var/log/ % chmod 666 authlog.1.gz > > > > ^^^ > > > > You don't appear to be root. Try doning this as root. > > > > > > > > > > > > > chmod: authlog.1.gz: Operation not permitted > > > > > stupid:/var/log/ % rm -i authlog.1.gz > > > > > rm: remove `authlog.1.gz'? y > > > > > rm: authlog.1.gz: Operation not permitted > > > > do an ls -lo and see if any flags are set. Get rid of > > them with chflags. Then you can remove > > > > -- > > Common sense is the most evenly distributed quantity in the world. > > Everyone thinks he has enough. -Descartes, 1637 > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > -- "My other major appointee will be Gen. H. Norman Schwarzkopf. I realize that, by putting this man in my administration, I run the risk of becoming wildly popular, but that's a risk I am willing to take. He'll be in charge of battling a domestic scourge that is every bit as much of a threat to this nation as any foreign power. That's right: I'm going to place him in charge of the War On Light Beer. As Light Beer Czar, Gen. Schwarzkopf will have a two-pronged mission, which is to find out (1) who is making this stuff, and (2) what happens to their breweries when you drop bombs on them." --- Some of Dave Barry's presidential campaign promises, 1992 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901271258.GAA05182>