* Make the permissions on /run less liberal.
svn path=/nixos/trunk/; revision=30065
This commit is contained in:
parent
c7f568dc06
commit
926091c265
|
@ -55,7 +55,7 @@ mkdir -p /sys
|
|||
mount -t sysfs none /sys
|
||||
mount -t tmpfs -o "mode=0755,size=@devSize@" none /dev
|
||||
mkdir -p /run
|
||||
mount -t tmpfs -o "mode=1777,size=@runSize@" none /run
|
||||
mount -t tmpfs -o "mode=0755,size=@runSize@" none /run
|
||||
|
||||
|
||||
# Process the kernel command line.
|
||||
|
|
|
@ -126,7 +126,7 @@ rm -rf /nix/var/nix/gcroots/tmp /nix/var/nix/temproots
|
|||
if ! mountpoint -q /run; then
|
||||
rm -rf /run
|
||||
mkdir -m 0755 -p /run
|
||||
mount -t tmpfs -o "mode=1777,size=@runSize@" none /run
|
||||
mount -t tmpfs -o "mode=0755,size=@runSize@" none /run
|
||||
fi
|
||||
|
||||
mkdir -m 0700 -p /run/lock
|
||||
|
|
Loading…
Reference in a new issue