mirror of
https://github.com/NixOS/nix
synced 2025-06-24 22:11:15 +02:00
Merge remote-tracking branch 'cve/fod-cves-master'
This commit is contained in:
commit
448cfb71ea
15 changed files with 183 additions and 56 deletions
9
doc/manual/rl-next/build-dir-mandatory.md
Normal file
9
doc/manual/rl-next/build-dir-mandatory.md
Normal file
|
@ -0,0 +1,9 @@
|
|||
---
|
||||
synopsis: "`build-dir` no longer defaults to `$TMPDIR`"
|
||||
---
|
||||
|
||||
The directory in which temporary build directories are created no longer defaults
|
||||
to `TMPDIR` or `/tmp`, to avoid builders making their directories
|
||||
world-accessible. This behavior allowed escaping the build sandbox and can
|
||||
cause build impurities even when not used maliciously. We now default to `builds`
|
||||
in `NIX_STATE_DIR` (which is `/nix/var/nix/builds` in the default configuration).
|
Loading…
Add table
Add a link
Reference in a new issue