* Make the permissions on /run less liberal.

svn path=/nixos/trunk/; revision=30065
This commit is contained in:
Eelco Dolstra 2011-10-27 17:34:16 +00:00
parent c7f568dc06
commit 926091c265
2 changed files with 2 additions and 2 deletions

View File

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

View File

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