nixpkgs/nixos/modules/installer/tools
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
..
nixos-build-vms nixos/build-vms: propagate file location 2020-04-13 17:50:13 +02:00
nixos-option nixos/nixos-option: Convert --all into -r 2019-12-19 15:00:43 +01:00
get-version-suffix Revert adding .git-revision unconditionally 2016-08-09 14:15:06 +02:00
nix-fallback-paths.nix nix: 2.3.6 -> 2.3.6 2020-06-03 14:57:39 +02:00
nixos-enter.sh nixos-enter: redirect to fd2 instead of a file named /dev/stderr 2020-02-12 21:18:27 -05:00
nixos-generate-config.pl nixos/nixos-generate-config.pl: use modulesPath instead of <nixpkgs> 2020-04-20 09:57:17 -05:00
nixos-install.sh nixos-install: error out if $mountPoint has bad permissions 2020-06-18 20:10:26 -07:00
nixos-rebuild.sh nixos-rebuild: Remove TODOs 2020-02-10 15:45:27 +01:00
nixos-version.sh Doh 2020-02-10 16:32:59 +01:00
tools.nix nixos/tools: adapt for renamed console options 2020-04-21 02:07:53 +02:00