Add 7.2 - change ownership to root

This commit is contained in:
Aditya 2023-01-09 15:48:17 +05:30
parent 01e0770bbb
commit c88a2e072b
2 changed files with 12 additions and 0 deletions

View file

@ -0,0 +1,6 @@
#!/bin/bash
chown -R root:root $LFS/{usr,lib,var,etc,bin,sbin,tools}
case $(uname -m) in
x86_64) chown -R root:root $LFS/lib64 ;;
esac

View file

@ -395,3 +395,9 @@ then
stop_script "chapter6/6.18-gcc.sh"
fi
# Chapter 7.2
# ===========
echo "Chapter 7"
echo "Changing ownership to root"
su -c "bash $PWD/chapter7/7.2-changing-ownership.sh"