Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Feb 2001 00:51:03 -0800
From:      "Crist J. Clark" <cjclark@reflexnet.net>
To:        jan <bunthaaar@gmx.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: new kernel installation - permission problem
Message-ID:  <20010221005103.Z62368@rfx-216-196-73-168.users.reflex>
In-Reply-To: <3A93550F.8E0770C@gmx.net>; from bunthaaar@gmx.net on Wed, Feb 21, 2001 at 12:41:35AM -0500
References:  <3A93550F.8E0770C@gmx.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Feb 21, 2001 at 12:41:35AM -0500, jan wrote:
> 
> Hi!
> 
> I have installed freebsd 4.2 on my system and re-compiled the kernel.
> This is a 'new' box and i didn't know that it's something else than a
> i586 but I only added 'cpu i586' to the kernel config, because of this i
> get a kernel panic. Well, no problem. I just press some button when
> freebsd starts to load and do 'unload' and 'load kernel.GENERIC' and
> 'boot' then I re-compiled my kernel again but the permissions on /kernel
> are only rx for everyone. When I do 'make install' I get a permission
> error, I'm root while installing the kernel. I also tried to delete
> /kernel manually but again got a permission error - any ideas?

The kernel is set immutable, 'schg,'

  $ ls -lo /kernel

Have you cleared the flag, chflags(1)?

  # chflag noschg /kernel

You can't? Are you running at securelevel > 0? You need to lower the
securelevel to do this, securelevel(8).
-- 
Crist J. Clark                           cjclark@alum.mit.edu

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?20010221005103.Z62368>