change permission of /run/lock to allow non-root access to subdirectories

This commit is contained in:
Mathijs Kwik 2012-08-26 10:17:22 +02:00
parent 05262ad35d
commit aba9f76105

View File

@ -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