Date: Wed, 28 Jul 1999 16:17:17 -0400 (EDT) From: Rob Garrett <eagle@phc.igs.net> To: Parker Brown <phbrown@gte.net> Cc: Tech Support <freebsd-questions@FreeBSD.ORG> Subject: Re: Superuser not permitted to chmod on his own files Message-ID: <Pine.BSF.4.10.9907281615210.366-100000@eagle.phc.igs.net> In-Reply-To: <379CD428.64C53F37@gte.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9907281615210.366-100000>