From b566f1ed9e9e558d907a0b2684eca7d3e659d9fd Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Sun, 8 Dec 2013 17:57:26 +0100 Subject: [PATCH] linuxrc: mount /dev/shm with appropriate permissions, see Gentoo bug #493652 --- defaults/linuxrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/defaults/linuxrc b/defaults/linuxrc index c7b4a45..858026f 100755 --- a/defaults/linuxrc +++ b/defaults/linuxrc @@ -16,7 +16,7 @@ fi mount -t proc -o noexec,nosuid,nodev proc /proc >/dev/null 2>&1 mount -o remount,rw / >/dev/null 2>&1 mount -t tmpfs -o rw,nosuid,nodev,relatime,mode=755 none /run 2>&1 -mount -t tmpfs none /dev/shm 2>&1 +mount -t tmpfs -o mode=1777,nosuid,nodev,strictatime tmpfs /dev/shm 2>&1 /bin/busybox --install -s