From owner-freebsd-questions Tue Jan 26 10:22:29 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA11187 for freebsd-questions-outgoing; Tue, 26 Jan 1999 10:22:29 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gras-varg.worldgate.com (gras-varg.worldgate.com [198.161.84.12]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA11180 for ; Tue, 26 Jan 1999 10:22:22 -0800 (PST) (envelope-from skafte@gras-varg.worldgate.com) Received: (from skafte@localhost) by gras-varg.worldgate.com (8.9.1a/8.9.1) id LAA21386; Tue, 26 Jan 1999 11:22:08 -0700 (MST) Date: Tue, 26 Jan 1999 11:22:07 -0700 From: Greg Skafte To: Chris Martino Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Unremovable file? Message-ID: <19990126112207.B20921@gras-varg.worldgate.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95i In-Reply-To: ; from Chris Martino on Tue, Jan 26, 1999 at 02:22:38AM -0500 Organization: WorldGate Inc. X-PGP-Fingerprint: 42 9C 2C A8 4D 2B C9 C4 7D B6 00 B0 50 47 20 97 X-URL: http://gras-varg.worldgate.com/~skafte Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG do an ls -lo the -o option lists the flags that are set. then man chflags(1) to see what each flag does some flags such as schg sappnd sunlk have a dependancey on the sercure level of your box so also do a sysctl kern.securelevel man sysctl(8) for details. if it is -1 everything is going to be simple if it is not then you will have to reboot into single user mode. Quoting Chris Martino (chrismar@console.org) On Subject: Unremovable file? Date: Tue, Jan 26, 1999 at 02:22:38AM -0500 > Hi guys, > I'm trying to rm a file and for some reason it won't let me do it. > Whenever I try it gives me a rm: authlog.1.gz: Operation not permitted > > stupid:/var/log/ % ls -l > total 286274103 > b--xr-srw- 30063 8736 29287 194, 231 Jun 6 2032 authlog.1.gz > > Any ideas on how I can get rid of this file? > > Chris > > -- > This is my sig. Fear it! > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Email: skafte@worldgate.com Voice: +403 413 1910 Fax: +403 421 4929 #575 Sun Life Place * 10123 99 Street * Edmonton, AB * Canada * T5J 3H1 -- -- When things can't get any worse, they simplify themselves by getting a whole lot worse then complicated. A complete and utter disaster is the simplest thing in the world; it's preventing one that's complex. (Janet Morris) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message