From: Thomas Cort Date: Wed, 25 May 2011 20:39:14 +0000 (+0000) Subject: Add chmod o-w /usr X-Git-Tag: v3.2.0~555 X-Git-Url: http://zhaoyanbai.com/repos/%22../static/icons/mdoc.3.ps?a=commitdiff_plain;h=f7c1307878bbaf52317195dc5110e08d2b2a6304;p=minix.git 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. --- 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