summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2011-12-15 11:56:09 +0100
committerDave Reisner <dreisner@archlinux.org>2011-12-15 11:56:09 +0100
commit31fae37e83036d72ba75b039dcee55fd88683585 (patch)
tree913b13c732071bdc3f281b0aaad02a613221c06c
parentbd3d853c5c3c0723efcf4af3baecc091b385e8b8 (diff)
downloadmkinitcpio-31fae37e83036d72ba75b039dcee55fd88683585.tar.gz
mkinitcpio-31fae37e83036d72ba75b039dcee55fd88683585.tar.xz
init: create /run/initramfs as mode 755
init doesn't set a umask, so this was previously created as world writable and sticky. Reported-by: Thomas Bächler <thomas@archlinux.org> Signed-off-by: Dave Reisner <dreisner@archlinux.org>
-rw-r--r--init2
1 files changed, 1 insertions, 1 deletions
diff --git a/init b/init
index f769708..571a11a 100644
--- a/init
+++ b/init
@@ -18,7 +18,7 @@ else
mknod /dev/mem c 1 1
fi
mount -t tmpfs run /run -o nosuid,nodev,mode=0755
-mkdir /run/initramfs
+mkdir -m755 /run/initramfs
# parse the kernel command line
parse_cmdline