diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-04-07 13:15:48 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-04-07 15:10:41 +0200 |
commit | a38f130126c5d81a961b26ecaafb845a186a6d91 (patch) | |
tree | 4872ad6916e417e717c3e9f506d85233d7455d69 /nixos/modules/system/boot/stage-2-init.sh | |
parent | 088523f094b379c79eef22f6616e057ea31be3bf (diff) |
Revert "Set stricter permissions on /nix/store"
This reverts commit 066758758e7c0768ff8da51d208cdae0f33b368c because it breaks NixOS VM tests.
Diffstat (limited to 'nixos/modules/system/boot/stage-2-init.sh')
-rw-r--r-- | nixos/modules/system/boot/stage-2-init.sh | 2 |
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 42148957be407..173453a17f71f 100644 --- a/nixos/modules/system/boot/stage-2-init.sh +++ b/nixos/modules/system/boot/stage-2-init.sh @@ -53,7 +53,7 @@ echo "booting system configuration $systemConfig" > /dev/kmsg # Silence chown/chmod to fail gracefully on a readonly filesystem # like squashfs. chown -f 0:30000 /nix/store -chmod -f 1735 /nix/store +chmod -f 1775 /nix/store if [ -n "@readOnlyStore@" ]; then if ! readonly-mountpoint /nix/store; then mount --bind /nix/store /nix/store |