3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/modules
Euan Kemp 460c0d608f nixos-install: error out if $mountPoint has bad permissions
The nix store more-or-less requires o+rx on all parent directories.
This is primarily because nix runs builders in a uid/gid mapped
user-namespace, and those builders have to be able to operate on the nix
store.

This check is especially helpful because nix does not produce a helpful
error on its own (rather, creating directories and such works, it's not
until 'mount --bind' that it gets an EACCES).

Helps users who run into this opaque error, such as in #67465.
Possibly fixes that issue if bad permissions were the only cause.
2020-06-18 20:10:26 -07:00
..
config nixos i18n.supportedLocales: increase systemPackages priority 2020-06-11 10:22:20 +02:00
hardware Merge pull request #73530 from eadwu/nvidia/systemd-pm 2020-05-12 13:54:45 +02:00
i18n/input-method Revert "ibus: fix dconf db installation" 2020-04-24 18:22:59 -04:00
installer nixos-install: error out if $mountPoint has bad permissions 2020-06-18 20:10:26 -07:00
misc dnschain: remove package and NixOS module 2020-06-13 12:33:31 +02:00
profiles Merge pull request #74378 from ttuegel/lxc-container 2020-04-25 16:25:15 +02:00
programs Merge pull request #89662 from aanderse/ssmtp 2020-06-12 16:09:13 +02:00
security nixos/pam: mount encrypted home earlier 2020-06-04 13:14:30 +08:00
services nixos/corerad: use passAsFile while converting settings JSON to TOML 2020-06-14 13:30:17 -04:00
system nixos/timesyncd: Make dbus-activatible 2020-06-13 12:23:45 +02:00
tasks Merge pull request #89159 from datafoo/fix-issue-89158 2020-06-12 15:31:57 +02:00
testing
virtualisation Merge pull request #89540 from Patryk27/fixes/lxd-lxcfs 2020-06-11 10:49:40 -05:00
module-list.nix Merge pull request #89772 from rnhmjoj/dnschain 2020-06-13 13:37:02 +02:00
rename.nix cgmanager: remove 2020-06-05 09:47:12 +01:00