From 39ae06516939e2ed84c21fdc5ec572ede9c70a4c Mon Sep 17 00:00:00 2001 From: freesource Date: Thu, 20 Dec 2001 23:14:32 +0000 Subject: [PATCH] This makes sure that libc and ld and 0755 when permissions aren't preserved. --- expect_uml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/expect_uml b/expect_uml index f8cb607..78ec9b0 100755 --- a/expect_uml +++ b/expect_uml @@ -52,6 +52,8 @@ $uml->command("mount -t hostfs none -o $mount_point /mnt2"); $uml->command("cp -a /mnt2/* /mnt1"); if ( $preserve_permissions == 0 ) { $uml->command("chown -R 0:0 /mnt1"); + $uml->command("chmod 0755 /mnt1/lib/libc\.*"); + $uml->command("chmod 0755 /mnt1/lib/ld-*"); } $uml->command("umount /mnt1; umount /mnt2"); $uml->halt();