summary refs log tree commit diff
path: root/nixos/modules/system/boot/stage-2-init.sh
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2014-03-19 05:18:24 -0400
committerShea Levy <shea@shealevy.com>2014-03-19 05:18:24 -0400
commit77181be713658f7065058aa1231e32e045cf856a (patch)
tree9ccc390686125fc3acc66252741d15a74855cb97 /nixos/modules/system/boot/stage-2-init.sh
parente0b8a00607b4274c0cf3d5f43b8bca1b6f3e7825 (diff)
downloadnixlib-77181be713658f7065058aa1231e32e045cf856a.tar
nixlib-77181be713658f7065058aa1231e32e045cf856a.tar.gz
nixlib-77181be713658f7065058aa1231e32e045cf856a.tar.bz2
nixlib-77181be713658f7065058aa1231e32e045cf856a.tar.lz
nixlib-77181be713658f7065058aa1231e32e045cf856a.tar.xz
nixlib-77181be713658f7065058aa1231e32e045cf856a.tar.zst
nixlib-77181be713658f7065058aa1231e32e045cf856a.zip
Set /run/keys ownership based on numerical ids
See comments on 4ab5646417e3cc606281f71027c12ddced8b65b4
Diffstat (limited to 'nixos/modules/system/boot/stage-2-init.sh')
-rw-r--r--nixos/modules/system/boot/stage-2-init.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/stage-2-init.sh b/nixos/modules/system/boot/stage-2-init.sh
index 4a86daf1fe80..ee042992b178 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