From owner-freebsd-hackers Mon Jun 26 06:31:37 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id GAA12447 for hackers-outgoing; Mon, 26 Jun 1995 06:31:37 -0700 Received: from campino.informatik.rwth-aachen.de (campino.Informatik.RWTH-Aachen.DE [137.226.225.2]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id GAA12441 for ; Mon, 26 Jun 1995 06:31:35 -0700 Received: from gilberto.physik.rwth-aachen.de by campino.informatik.rwth-aachen.de (4.1/campino-7) id AA05017; Mon, 26 Jun 95 15:31:26 +0200 Received: (from kuku@localhost) by gilberto.physik.rwth-aachen.de (8.6.8/8.6.9) id PAA03139; Mon, 26 Jun 1995 15:45:18 +0200 Message-Id: <199506261345.PAA03139@gilberto.physik.rwth-aachen.de> Subject: Re: weird filesystem state (cannot remove files) To: kelly@fsl.noaa.gov (Sean Kelly) Date: Mon, 26 Jun 1995 15:45:17 +0200 (MET DST) Cc: freebsd-hackers@freefall.cdrom.com (user alias) In-Reply-To: <9506261323.AA10462@yarmouth.fsl.noaa.gov> from "Sean Kelly" at Jun 26, 95 01:23:16 pm From: Christoph Kukulies Reply-To: Christoph Kukulies X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 1388 Sender: hackers-owner@FreeBSD.org Precedence: bulk > > >>>>> "Christoph" == Christoph P Kukulies writes: > > Christoph> /kernel: Operation not permitted > > Christoph> I believe I installed these kernels using make install > Christoph> rather than mv /kernel /tmp ; mv kernel /kernel. > > The `make install' sets the system immutable flag through an install > option. See chflags(1). You want `chflags noschg /kernel' so you can > futz with it. Thanks to all who responded to use 'chflags noschg'. I figured out by reading the man page. > > Besides, what's wrong with a mode 555 /kernel? Nothing unless it confuses the 'mundane root user' who is not aware of BSD 4.4 chflags. I vote for a 'See also' in chmod or a FAQ entry. > > -- > Sean Kelly > NOAA Forecast Systems Lab, Boulder Colorado USA > > Folks still remember the day ole Bob Riley came bouncing down that > dirt road in his pickup. Pretty soon, it was bouncing higher and > higher. The tires popped, and the shocks broke, but that truck kept > bouncing. Some say it bounced clean over the moon, but whoever says > that is a damn liar. -- Jack Handey > --Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de FreeBSD blues.physik.rwth-aachen.de 2.0-BUILT-19950619 FreeBSD 2.0-BUILT-1995 0619 #1: Mon Jun 19 19:54:08 MET DST 1995 kuku@blues.physik.rwth-aachen.d e:/usr/src/sys/compile/BLUESGUS i386