Skip to content

Commit

Permalink
Fix NixOS#19382 set ownership of /var/empty to root:root
Browse files Browse the repository at this point in the history
  • Loading branch information
nathan-gs authored Oct 9, 2016
1 parent 4168706 commit 4ed8593
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nixos/modules/system/activation/activation-script.nix
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ in
${pkgs.e2fsprogs}/bin/chattr -f -i /var/empty || true
find /var/empty -mindepth 1 -delete
chmod 0555 /var/empty
chown root:root /var/empty
${pkgs.e2fsprogs}/bin/chattr -f +i /var/empty || true
'';

Expand Down

0 comments on commit 4ed8593

Please sign in to comment.