From b89bbf1d6471fd66029ca3ead05936627fea383a Mon Sep 17 00:00:00 2001
From: Tom Gundersen <teg@jklm.no>
Date: Sun, 8 May 2011 17:46:02 +0200
Subject: [PATCH] /run: restrict write access to root

This brings it in line with initscripts (and systemd), there should be no need for everyone to have write access to the /run folder.

Reported-by: Pierre Schmitz <pierre@archlinux.de>
Signed-off-by: Tom Gundersen <teg@jklm.no>
---
 init |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/init b/init
index 7b81a1a..242aaf2 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
 fi
-/bin/mount -t tmpfs run /run -o nosuid,noexec,nodev,mode=1777,size=10M
+/bin/mount -t tmpfs run /run -o nosuid,noexec,nodev,mode=755,size=10M
 
 root=""
 init=""
-- 
1.7.5.1

