| 123456789101112131415161718192021 | <sect1 id="ch06-changingowner"><title>Changing ownership of the LFS partition</title><?dbhtml filename="changingowner.html" dir="chapter06"?><para>Now we're in chroot, it is a good time to change the ownership ofall files and directories that were installed in chapter 5 back to root.Run the following commands to do so:</para><para><screen><userinput>chown -R 0:0 /</userinput></screen></para><para>Depending on the filesystem you created on the LFS partition, you mayhave a /lost+found directory. If so, run:</para><para><screen><userinput>chown 0:0 /lost+found</userinput></screen></para><para>These commands will change the ownership of the root partition toroot. In these commands, 0:0 is used instead of the usual root:root, becausethe username root can't be resolved because glibc is not yet installed.</para></sect1>
 |