From 44be87bb7480ac17af903451ab32dbfd1c9effe5 Mon Sep 17 00:00:00 2001 From: linggao Date: Tue, 26 Oct 2010 15:03:32 +0000 Subject: [PATCH] made permission for / on stateless node to be 755 git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7932 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/share/xcat/netboot/fedora12/genimage | 4 ++-- xCAT-server/share/xcat/netboot/rh/genimage | 4 ++-- xCAT-server/share/xcat/netboot/sles/genimage | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/xCAT-server/share/xcat/netboot/fedora12/genimage b/xCAT-server/share/xcat/netboot/fedora12/genimage index f88dcff10..07e80c171 100755 --- a/xCAT-server/share/xcat/netboot/fedora12/genimage +++ b/xCAT-server/share/xcat/netboot/fedora12/genimage @@ -862,9 +862,9 @@ EOMS print $inifile "elif [ -r /rootimg.gz ]; then\n"; print $inifile "echo Setting up RAM-root tmpfs.\n"; if ($rootlimit) { - print $inifile " mount -o size=$rootlimit -t tmpfs rootfs /sysroot\n"; + print $inifile " mount -o size=$rootlimit mode=755 -t tmpfs rootfs /sysroot\n"; } else { - print $inifile " mount -t tmpfs rootfs /sysroot\n"; + print $inifile " mount -o mode=755 -t tmpfs rootfs /sysroot\n"; } print $inifile " cd /sysroot\n"; print $inifile " echo -n \"Extracting root filesystem:\"\n"; diff --git a/xCAT-server/share/xcat/netboot/rh/genimage b/xCAT-server/share/xcat/netboot/rh/genimage index c88b887fe..f4ce2d82f 100755 --- a/xCAT-server/share/xcat/netboot/rh/genimage +++ b/xCAT-server/share/xcat/netboot/rh/genimage @@ -1184,9 +1184,9 @@ EOMS print $inifile "elif [ -r /rootimg.gz ]; then\n"; print $inifile "echo Setting up RAM-root tmpfs.\n"; if ($rootlimit) { - print $inifile " mount -o size=$rootlimit -t tmpfs rootfs /sysroot\n"; + print $inifile " mount -o size=$rootlimit mode=755 -t tmpfs rootfs /sysroot\n"; } else { - print $inifile " mount -t tmpfs rootfs /sysroot\n"; + print $inifile " mount -o mode=755 -t tmpfs rootfs /sysroot\n"; } print $inifile " cd /sysroot\n"; print $inifile " echo -n \"Extracting root filesystem:\"\n"; diff --git a/xCAT-server/share/xcat/netboot/sles/genimage b/xCAT-server/share/xcat/netboot/sles/genimage index 4fd491987..c55468fea 100755 --- a/xCAT-server/share/xcat/netboot/sles/genimage +++ b/xCAT-server/share/xcat/netboot/sles/genimage @@ -1111,9 +1111,9 @@ EOMS print $inifile "elif [ -r /rootimg.gz ]; then\n"; print $inifile "echo Setting up RAM-root tmpfs.\n"; if ($rootlimit) { - print $inifile " mount -o size=$rootlimit -t tmpfs rootfs /sysroot\n"; + print $inifile " mount -o size=$rootlimit mode=755 -t tmpfs rootfs /sysroot\n"; } else { - print $inifile " mount -t tmpfs rootfs /sysroot\n"; + print $inifile " mount -o mode=755 -t tmpfs rootfs /sysroot\n"; } print $inifile " cd /sysroot\n"; print $inifile " echo -n \"Extracting root filesystem:\"\n";