summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2011-05-08 17:46:02 +0200
committerThomas Bächler <thomas@archlinux.org>2011-05-14 12:49:48 +0200
commitdf4bce44c5e21357043930e02acac23f104ea9b8 (patch)
tree236630000aaaf2f543e301d32390f1bfff6a2514 /init
parent34d985ae0ecdc18223ea7f42b9a4b2bfae657cc7 (diff)
downloadmkinitcpio-df4bce44c5e21357043930e02acac23f104ea9b8.tar.gz
mkinitcpio-df4bce44c5e21357043930e02acac23f104ea9b8.tar.xz
/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>
Diffstat (limited to 'init')
-rw-r--r--init2
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=""