From 31fae37e83036d72ba75b039dcee55fd88683585 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Thu, 15 Dec 2011 05:56:09 -0500 Subject: init: create /run/initramfs as mode 755 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit init doesn't set a umask, so this was previously created as world writable and sticky. Reported-by: Thomas Bächler Signed-off-by: Dave Reisner --- init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-24-g4f1b