From owner-freebsd-questions Wed Jan 27 04:59:08 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA11886 for freebsd-questions-outgoing; Wed, 27 Jan 1999 04:59:08 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from horton.iaces.com (horton.iaces.com [204.147.87.98]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA11879 for ; Wed, 27 Jan 1999 04:59:04 -0800 (PST) (envelope-from proot@horton.iaces.com) Received: (from proot@localhost) by horton.iaces.com (8.8.8/8.8.8) id GAA05182; Wed, 27 Jan 1999 06:58:53 -0600 (CST) (envelope-from proot) From: "Paul T. Root" Message-Id: <199901271258.GAA05182@horton.iaces.com> Subject: Re: Unremovable file? In-Reply-To: <36AE94B0.508CFA46@sweda.com.hk> from peter kok at "Jan 27, 99 12:23:13 pm" To: peter@sweda.com.hk (peter kok) Date: Wed, 27 Jan 1999 06:58:53 -0600 (CST) Cc: questions@FreeBSD.ORG (Questions FreeBSD) X-Organization: USWEST !nterprise Networking - ACES X-Phone: (612) 664-3385 X-Fax: (612) 664-4779 X-Page: (800) SKY-PAGE PIN: 537-7270 X-Address: 600 Stinson Blvd, Fl 1S X-Address: Minneapolis, MN 55413 X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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