Date: Tue, 31 Oct 2000 17:15:56 -0600 From: leoric@home.com To: Chive <lex@blacktrap.net>, freebsd-questions@freebsd.org Subject: Re: Errors when buidling kernel part 2 Message-ID: <39FF52AC.855D8E70@home.com> References: <39FF27CD.43D56479@home.com> <20001101000311.A10476@blacktrap.net>
next in thread | previous in thread | raw e-mail | index | archive | help
When it tries to do the chflags command in the kernel installation I get the error: 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 Stop in /usr/obj/usr/src/sys/SIREN. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. Chive wrote: > On Tue, Oct 31, 2000 at 02:13:02PM -0600, leoric@home.com wrote: > > Hmm... It seems that my /kernel file is set to -r-xr-xr-x > > > > Is there any way to rm, mv, or chmod the file when it is like this. If > > root doesnt have write access to the file then how can get my new kernel > > installed? > > > > > > You can't remove the kernel with rm because it has the immutable flag set (see > chflags(1)). You can remove this flag with `chflags noschg', but doing `make > install' when building the kernel will take care of this (and of resetting > this flag on the newly installed kernel). > > -- > Chive. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message 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?39FF52AC.855D8E70>