%general-entities; ]> Changing the Ownership Of The CLFS System Throughout the book, every package has been compiled and installed as the clfs user. The final system should be owned by root. The commands in the remainder of this book must be performed while logged in as root. Check that ${CLFS} is still set: echo ${CLFS} Make root the owner of the entire CLFS system. chown -Rv &uid-root;:&gid-root; ${CLFS} The following files are to be owned by the group utmp not by root. chgrp -v &gid-utmp; ${CLFS}/var/run/utmp ${CLFS}/var/log/lastlog During the installation of Util-Linux-ng configure was instructed not change the ownership of certain programs. Correct that ownership now that we have sufficent privileges. chgrp -v &gid-tty; ${CLFS}/usr/bin/write chmod g+s ${CLFS}/usr/bin/write The following device nodes need to be created for the system to boot. mknod -m 0666 ${CLFS}/dev/null c 1 3 mknod -m 0600 ${CLFS}/dev/console c 5 1