November 19th, 2001, 12:57 PM
chflags /kernel operation not permitted ????
I want to install my new kernel , when doing make install I get the following error, what can I do about this...
unix-web01# make install
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
November 19th, 2001, 01:15 PM
November 19th, 2001, 08:09 PM
Your either not logged in as root or your secure level is greater than 0. Go to single user mode and reset your secure level to zero. Search the handbook and faq for precise steps. Search http://www.google.com/bsd
November 20th, 2001, 10:54 AM
Well, I found it about 5 minutes after I posted it, I had it a few times before and somehow I always forget what to do, my kern_securelevel was at 1, changed it to -1, rebooted installed the kernel and changed it back again.