Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jul 1999 17:57:07 -0400 (EDT)
From:      David Coder <dacoder@dcoder.com>
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.9907261753200.21260-100000@doc.dcoder.com>
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?
> 
The kernel is locked by sysctl (q.v.).  Make install will do that.  To
install the kernel you want as the working kernel, put it in a subdirectory
of /usr/src/sys/compile, cd to that subdirectory, rename the desired kernel
"kernel", and do a make install.

dc
_____________________
David Coder
SysAdmin
WebHosting
Verio.com
703-749-7955 x1314



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.9907261753200.21260-100000>