On 03/17/16 13:50, "René Nidegger" wrote:
I am trying to execute the steps outlined in
http://www.linuxfromscratch.org/lfs/view/stable/chapter06/kernfs.html
I am logged in as lfs.
The commands
mknod -m 600 $LFS/dev/console c 5 1
mknod -m 666 $LFS/dev/null c 1 3
print "Operation not permitted"
When I change to root (and set the LFS variable), these
mknod commands execute without problem.
I am assuming that from 5.36 I should be root anyway, but this
is what it is: an assumption.
Yes, you should be. You will enter the chroot environment anytime soon
now and first will have no other usable user there anyway.
You might add a user after installing the shadow package in 6.25 and
then use that, but then would have to be very careful to execute any
installation command as root, eg.
su -c 'make install'
instead of
make install
For your first build, I'd strongly suggest not to try this out.
Kind regards
Tim
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
Do not top post on this list.
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
http://en.wikipedia.org/wiki/Posting_style