From 666c4d431cd585ce45df93bef58ada648bf88b55 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 7 Jan 2011 12:48:39 +0000 Subject: init: make / readonly for world when tmpfs --- initramfs-init.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'initramfs-init.in') diff --git a/initramfs-init.in b/initramfs-init.in index d140d75..8604c12 100755 --- a/initramfs-init.in +++ b/initramfs-init.in @@ -328,9 +328,9 @@ if [ "$SINGLEMODE" = "yes" ]; then fi # mount tmpfs sysroot -root_opts= +root_opts="-o mode=0755" if [ -n "$KOPT_root_size" ]; then - root_opts="-o size=$KOPT_root_size" + root_opts="$root_opts,size=$KOPT_root_size" fi mount -t tmpfs $root_opts tmpfs $sysroot -- cgit v1.2.3