Merge pull request #19383 from nathan-gs/patch-2
Fix #19382 set ownership of /var/empty to root:root
commit4725a092db4f2bb7f30c4e5dc84ddb8be7116be4
authorDomen Kožar <domen@dev.si>
dateSun 9 Oct 2016, 12:07 (10 years ago)
parent41687064ed8593
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