diff --git a/chapter06/changingowner.xml b/chapter06/changingowner.xml index 49d93189b..fca9bff74 100644 --- a/chapter06/changingowner.xml +++ b/chapter06/changingowner.xml @@ -6,13 +6,14 @@ all files and directories that were installed in chapter 5 back to root. Run the following commands to do so: -chown 0.0 / /proc && -chown -R 0.0 /bin /boot /dev /etc /home /lib /mnt /opt /root /sbin /tmp /usr /var +cd / && +chown 0.0 . proc && +chown -R 0.0 bin boot dev etc home lib mnt opt root sbin tmp usr var Depending on the filesystem you created on the LFS partition, you may have a /lost+found directory. If so, run: -chown 0.0 /lost+found +chown 0.0 lost+found These commands will change the ownership of the root partition and the /proc directory to root, plus everything under