From aba9f76105de058a6d0f9b5a11eb6a03a581b296 Mon Sep 17 00:00:00 2001 From: Mathijs Kwik Date: Sun, 26 Aug 2012 10:17:22 +0200 Subject: [PATCH] change permission of /run/lock to allow non-root access to subdirectories --- modules/system/boot/stage-2-init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/system/boot/stage-2-init.sh b/modules/system/boot/stage-2-init.sh index f0e04aed179..256792460d0 100644 --- a/modules/system/boot/stage-2-init.sh +++ b/modules/system/boot/stage-2-init.sh @@ -133,7 +133,7 @@ if ! mountpoint -q /run; then mount -t tmpfs -o "mode=0755,size=@runSize@" none /run fi -mkdir -m 0700 -p /run/lock +mkdir -m 0755 -p /run/lock # For backwards compatibility, symlink /var/run to /run, and /var/lock