0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

Revert "Set stricter permissions on /nix/store"

This reverts commit 066758758e because
it breaks NixOS VM tests.
This commit is contained in:
Eelco Dolstra 2015-04-07 13:15:48 +02:00
parent 088523f094
commit a38f130126
2 changed files with 2 additions and 2 deletions

View file

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