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-26 08:22:57 +02:00
committed by Ben Gras
parent 423be1545c
commit f7c1307878
+1
View File
@@ -494,6 +494,7 @@ mount /dev/$root /mnt >/dev/null || exit
# Running from the installation CD.
cpdir -vx / /mnt | progressbar "$ROOTFILES" || exit
chmod o-w /mnt/usr
cp /mnt/etc/motd.install /mnt/etc/motd
# Fix /var/log