Nolan wrote: > On 10/22/2010 02:51 AM, Andrew Benton wrote: >> No, never. If you followed the book /tools would be owned (and hence >> writable) by the user lfs. I would suggest that you start again. >> >> Andy >> > I am sure I followed the book. Will recheck my steps, and if need be > will start over with a reformat of my LFS parition. > IIRC ubuntu will not allow me to create anything in the native > environment without a 'sudo'. > > Can I change the directory and file ownership to "lfs" with a chown, or > is the fact that the programs were compiled as > "root" have a detrimental effect?
You will need sudo (or su, or log in as the root user on systems that allow it) to create the lfs user (Chapter 4.3) and set up the lfs partition (fdisk, mke2fs, chown, mount)( Chapter 2). You can also use sudo to enter the chroot environment (Chapter 6.4). There are a couple of other setup places where sudo is useful. Sudo is never needed to build or install a package. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page