From 77181be713658f7065058aa1231e32e045cf856a Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Wed, 19 Mar 2014 05:18:24 -0400 Subject: [PATCH] Set /run/keys ownership based on numerical ids See comments on 4ab5646417e3cc606281f71027c12ddced8b65b4 --- nixos/modules/system/boot/stage-2-init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/system/boot/stage-2-init.sh b/nixos/modules/system/boot/stage-2-init.sh index 4a86daf1fe8..ee042992b17 100644 --- a/nixos/modules/system/boot/stage-2-init.sh +++ b/nixos/modules/system/boot/stage-2-init.sh @@ -136,7 +136,7 @@ fi if ! mountpoint -q /run/keys; then rm -rf /run/keys mkdir -m 0750 /run/keys - chown root:keys /run/keys + chown 0:96 /run/keys mount -t ramfs none /run/keys fi