nixpkgs/nixos/modules/installer
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
..
cd-dvd images: remove original files when using zstd for compression 2020-06-14 00:19:11 +02:00
netboot Revert "Revert "Merge master into staging-next"" 2020-02-05 19:41:25 +01:00
scan [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
tools nixos-install: error out if $mountPoint has bad permissions 2020-06-18 20:10:26 -07:00
virtualbox-demo.nix ova: remove stateVersion 2019-03-09 14:25:05 -05:00