change permission of /run/lock to allow non-root access to subdirectories
This commit is contained in:
parent
05262ad35d
commit
aba9f76105
@ -133,7 +133,7 @@ if ! mountpoint -q /run; then
|
|||||||
mount -t tmpfs -o "mode=0755,size=@runSize@" none /run
|
mount -t tmpfs -o "mode=0755,size=@runSize@" none /run
|
||||||
fi
|
fi
|
||||||
|
|
||||||
mkdir -m 0700 -p /run/lock
|
mkdir -m 0755 -p /run/lock
|
||||||
|
|
||||||
|
|
||||||
# For backwards compatibility, symlink /var/run to /run, and /var/lock
|
# For backwards compatibility, symlink /var/run to /run, and /var/lock
|
||||||
|
Loading…
x
Reference in New Issue
Block a user