From f7c1307878bbaf52317195dc5110e08d2b2a6304 Mon Sep 17 00:00:00 2001 From: Thomas Cort Date: Wed, 25 May 2011 20:39:14 +0000 Subject: [PATCH] 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. --- commands/setup/setup.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/commands/setup/setup.sh b/commands/setup/setup.sh index 6324a0f53..61b46e3ab 100644 --- a/commands/setup/setup.sh +++ b/commands/setup/setup.sh @@ -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 -- 2.44.0