From df4bce44c5e21357043930e02acac23f104ea9b8 Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Sun, 8 May 2011 17:46:02 +0200 Subject: /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 Signed-off-by: Tom Gundersen --- init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'init') 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="" -- cgit v1.2.3-24-g4f1b