]> Zhao Yanbai Git Server - minix.git/commitdiff
Add chmod o-w /usr
authorThomas Cort <tcort@minix3.org>
Wed, 25 May 2011 20:39:14 +0000 (20:39 +0000)
committerBen Gras <beng@shrike-systems.com>
Thu, 26 May 2011 06:22:57 +0000 (08:22 +0200)
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

index 6324a0f537e18ee4bb5e19af75f905fbe40f9edc..61b46e3abc880b8c621e48dc76927624b41f0895 100644 (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