From a42f00721714e6ff7ea098d509dc18ca88d1d2b0 Mon Sep 17 00:00:00 2001 From: bp-sawyers Date: Tue, 4 Oct 2011 18:09:24 +0000 Subject: [PATCH] Checked in fix by xiao peng for bug 3414725 - diskless root directory has bad fileperms git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10698 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/share/xcat/netboot/rh/dracut/xcatroot | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server/share/xcat/netboot/rh/dracut/xcatroot b/xCAT-server/share/xcat/netboot/rh/dracut/xcatroot index f11ae4fa5..b02abe09f 100755 --- a/xCAT-server/share/xcat/netboot/rh/dracut/xcatroot +++ b/xCAT-server/share/xcat/netboot/rh/dracut/xcatroot @@ -41,7 +41,7 @@ if [ -r /rootimg.sfs ]; then mount --move /rw $NEWROOT/rw elif [ -r /rootimg.gz ]; then echo Setting up RAM-root tmpfs. - mount -t tmpfs rootfs $NEWROOT + mount -t tmpfs -o mode=755 rootfs $NEWROOT cd $NEWROOT echo -n "Extracting root filesystem:" if [ -x /bin/cpio ]; then @@ -52,7 +52,7 @@ elif [ -r /rootimg.gz ]; then echo Done elif [ -r /rootimg-statelite.gz ]; then echo Setting up RAM-root tmpfs for statelite mode. - mount -t tmpfs rootfs $NEWROOT + mount -t tmpfs -o mode=755 rootfs $NEWROOT cd $NEWROOT echo -n "Extracting root filesystem:" if [ -x /bin/cpio ]; then