diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-09-08T16·16+0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-09-08T16·16+0200 |
commit | ff0c0b645cc1448959126185bb2fafe41cf0bddf (patch) | |
tree | 390cf5462ac0eee1e6a666c4c55fa71a02d3683d /tests/nix-copy-closure.nix | |
parent | e4bdd490227b91505def7df4ac786bfdb60e88c6 (diff) |
Don't run builds as root in the user namespace
This largely reverts c68e5913c71badc89ff346d1c6948517ba720c93. Running builds as root breaks "cp -p", since when running as root, "cp -p" assumes that it can succesfully chown() files. But that's not actually the case since the user namespace doesn't provide a complete uid mapping. So it barfs with a fatal error message ("cp: failed to preserve ownership for 'foo': Invalid argument").
Diffstat (limited to 'tests/nix-copy-closure.nix')
0 files changed, 0 insertions, 0 deletions