Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Mar 2001 07:14:15 -0700
From:      "Charles Burns" <burnscharlesn@hotmail.com>
To:        questions@freebsd.org
Subject:   Re: kernel compile error
Message-ID:  <F1739GQvnbEG10Gai4o0000566e@hotmail.com>

next in thread | raw e-mail | index | archive | help
It sounds like your have your security level set too high. At security level 
1, flags such immutable (noschg) and other cannot be changed, even by root. 
This is a security feature so that even if root is compromised, if properly 
setup a FreeBSD system cannot be destroyed. For info on file flags, see "man 
1 chflags". For info on the security levels, see "man 8 init".

The way around this is to run in single user mode. To go to single use mode, 
type "shutdown now". Now try.
This will make the build world go slightly faster anyway, so i've heard.

I do not know how to permanently lower the security level short of 
re-installing FreeBSD. If there is a way, which I imagine there probably is, 
it would likely be possible only in single user mode.

>From: "Shaun Bender" <shaunbender@hotmail.com>
>To: questions@freebsd.org
>Subject: kernel compile error
>Date: Fri, 09 Mar 2001 14:36:05 -0600
>
>Hi,
>
>I'm having this problem when compiling the kernel, this is the second time
>I've done it and the first time went like clock work. I am running
>4.1-20000913-STABLE.
>
>
>chflags noschg /kernel
>chflags: /kernel: Operation not permitted
>*** Error code 1 (ignored)
>mv /kernel /kernel.old
>mv: rename /kernel to /kernel.old: Operation not permitted
>*** Error code 1
>
>Thanks,
>Shaun B
>_________________________________________________________________
>Get your FREE download of MSN Explorer at http://explorer.msn.com
>
>
>To Unsubscribe: send mail to majordomo@FreeBSD.org
>with "unsubscribe freebsd-questions" in the body of the message

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com


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?F1739GQvnbEG10Gai4o0000566e>