git.iko.soy/typeable/nixpkgs
on master help sign in
Fix #19382 set ownership of /var/empty to root:root
commit4ed85933db8b056b72214fb38e2095e1414e1c49 authorNathan Bijnens <nathan@nathan.gs> dateSun 9 Oct 2016, 12:01 (10 years ago) parent4168706
1 file changed+1
nixos/modules/system/activation/activation-script.nix+1
nixos/modules/system/activation/activation-script.nix+1
@@ -145,6 +145,7 @@ in
145145 ${pkgs.e2fsprogs}/bin/chattr -f -i /var/empty || true
146146 find /var/empty -mindepth 1 -delete
147147 chmod 0555 /var/empty
148+ chown root:root /var/empty
148149 ${pkgs.e2fsprogs}/bin/chattr -f +i /var/empty || true
149150 '';
150151