Add chmod o-w /usr

After the default install, /usr was world writable. perl refused to
install itself into /usr with that permission. This fixes the permissions.
This commit is contained in:
Thomas Cort 2011-05-25 20:39:14 +00:00 committed by Ben Gras
parent 423be1545c
commit f7c1307878

View file

@ -494,6 +494,7 @@ mount /dev/$root /mnt >/dev/null || exit
# Running from the installation CD. # Running from the installation CD.
cpdir -vx / /mnt | progressbar "$ROOTFILES" || exit cpdir -vx / /mnt | progressbar "$ROOTFILES" || exit
chmod o-w /mnt/usr
cp /mnt/etc/motd.install /mnt/etc/motd cp /mnt/etc/motd.install /mnt/etc/motd
# Fix /var/log # Fix /var/log