chapter "7.9 creating_directories" too late

Chris Staub chris at
Sat Dec 31 19:27:10 PST 2005

Ken Moffat wrote:
> ,On Sat, 31 Dec 2005, Chris Staub wrote:
>> since there is a "chown lfs $LFS" command near the beginning of the 
>> book and you're never told to run chown root $LFS to change it back if 
>> you chroot. I was thinking that the chown lfs $LFS command should be 
>> moved to the beginning of Chapter 7 - placed at the top of the 
>> "Creating Directories" section and moving Creating Directories to the 
>> beginning of the chapter.
>  That I'm not sure about - surely lfs needs to own $LFS in chapter 5 so 
> that (s)he can actually write to it ?  In my current festive state, I 
> think the important thing is probably to run 'chown -R 0:0 /' after 
> chrooting (for those like me who are wimps and want to chroot instead of 
> boot) ?

The only directories the lfs user needs to write to in chapter 5 are 
$LFS/tools and $LFS/cross-tools. There is no need to give the lfs user 
ownership of anything except those dirs if you chroot.

>  Also, even if you boot, should we not 'chown -R 0:0 /' for the final 
> system ?  That would mean we run chown however we got to the final system.
>  However, I doubt I will be editing any of this today, so feel free to 
> do it differently ;)
> Ken

More information about the cross-lfs mailing list