From owner-freebsd-questions Wed Jul 28 13:17:48 1999 Delivered-To: freebsd-questions@freebsd.org Received: from eagle.phc.igs.net (eagle.phc.igs.net [207.210.17.201]) by hub.freebsd.org (Postfix) with ESMTP id 1F55F14F68 for ; Wed, 28 Jul 1999 13:17:21 -0700 (PDT) (envelope-from eagle@phc.igs.net) Received: from localhost (eagle@localhost) by eagle.phc.igs.net (8.9.3/8.9.3) with ESMTP id QAA04178; Wed, 28 Jul 1999 16:17:18 -0400 (EDT) (envelope-from eagle@phc.igs.net) X-Authentication-Warning: eagle.phc.igs.net: eagle owned process doing -bs Date: Wed, 28 Jul 1999 16:17:17 -0400 (EDT) From: Rob Garrett To: Parker Brown Cc: Tech Support Subject: Re: Superuser not permitted to chmod on his own files In-Reply-To: <379CD428.64C53F37@gte.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 26 Jul 1999, Parker Brown wrote: > I'm trying some changes to get FreeBSD to recognise my sound board, and > I don't want to leave the kernel I just built as the default. I leave > /kernel.GENERIC in place but I wanted to delete the new /kernel and > rename /kernel.old to /kernel, in other words get rid of the newly built > kernel. > All three of the files are 555 root wheel, as they should be, but I > can't delete /kernel. I even tried to chmod o+w /kernel but I get a > message that it is not allowed! And as root, I OWN the **** thing! > Why is this happening, and how can I get around it? I was able to do > this very operation the last time I rebuilt the kernel on this same > release. What is happening? > > PB > > Someone else has prlly already answered this. it would appear either you are opperating at security level < 1, or you havent unset the system immutable flag on the kernel chflags -noschg /kernel should allow you to do what your asking.. Rob To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message