diff options
| author | Euan Kemp <euank@euank.com> | 2020-06-14 20:04:41 -0700 |
|---|---|---|
| committer | Euan Kemp <euank@euank.com> | 2020-06-18 20:10:26 -0700 |
| commit | 460c0d608f40f54776bb401c601ff96b9ec426d0 (patch) | |
| tree | fc5c02960ec01f0bf1b98c538be5cc14554aa7d1 /pkgs/development/python-modules/python-mapnik | |
| parent | 9d0c3ffe6783d59b427d018e8341e0084737fde9 (diff) | |
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.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik')
0 files changed, 0 insertions, 0 deletions
