diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-01-15 18:36:38 +0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-01-15 18:37:55 +0100 |
commit | efa8fc2b0a5e94fd22e26c31c82b643d2352e92a (patch) | |
tree | 60b227c2470b03cdcc2f12e826d4a9cd39b0bef9 /nixos/modules/system/boot/stage-2-init.sh | |
parent | b9c4569b6b4c7fc3eb96b55cbf4043f2ba35a901 (diff) | |
download | nixpkgs-efa8fc2b0a5e94fd22e26c31c82b643d2352e92a.tar nixpkgs-efa8fc2b0a5e94fd22e26c31c82b643d2352e92a.tar.gz nixpkgs-efa8fc2b0a5e94fd22e26c31c82b643d2352e92a.tar.bz2 nixpkgs-efa8fc2b0a5e94fd22e26c31c82b643d2352e92a.tar.lz nixpkgs-efa8fc2b0a5e94fd22e26c31c82b643d2352e92a.tar.xz nixpkgs-efa8fc2b0a5e94fd22e26c31c82b643d2352e92a.tar.zst nixpkgs-efa8fc2b0a5e94fd22e26c31c82b643d2352e92a.zip |
Paranoia
Diffstat (limited to 'nixos/modules/system/boot/stage-2-init.sh')
-rw-r--r-- | nixos/modules/system/boot/stage-2-init.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/system/boot/stage-2-init.sh b/nixos/modules/system/boot/stage-2-init.sh index 3762bda94a5..356a440b17a 100644 --- a/nixos/modules/system/boot/stage-2-init.sh +++ b/nixos/modules/system/boot/stage-2-init.sh @@ -91,6 +91,7 @@ mkdir -m 01777 -p /tmp mkdir -m 0755 -p /var /var/log /var/lib /var/db mkdir -m 0755 -p /nix/var mkdir -m 0700 -p /root +chmod 0700 /root mkdir -m 0755 -p /bin # for the /bin/sh symlink mkdir -m 0755 -p /home mkdir -m 0755 -p /etc/nixos |