[arch-projects] [PATCH] init: allow exec in /run

Dave Reisner d at falconindy.com
Thu Jun 2 15:04:57 EDT 2011

We already have /tmp and /dev/shm as world writebale directories with
exec permissions, so it doesn't necessarily make sense to inhibit exec
here. There may be uses cases after early userspace but prior to root
being remounted RW where a one-off script may need to be written and

This mirrors a commit to initscripts which makes the same change to

Signed-off-by: Dave Reisner <d at falconindy.com>
 init |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/init b/init
index a99940a..87ff187 100644
--- a/init
+++ b/init
@@ -17,7 +17,7 @@ else
   # /dev/mem is needed if we want to load uvesafb before triggering uevents
   /bin/mknod /dev/mem c 1 1
-/bin/mount -t tmpfs run /run -o nosuid,noexec,nodev,mode=755,size=10M
+/bin/mount -t tmpfs run /run -o nosuid,nodev,mode=755,size=10M

More information about the arch-projects mailing list