Commit 88c1947
authored
Respect default umask in distribution archive (#2023)
When copying files from the nix store to the intermediate directory,
ignore the source file permissions. These are coming from the nix store,
so they will not be writable.
Without this change, this will result in unexpected `Permission denied`
when manipulating extracted files.
Fixes: #20221 parent 57f9329 commit 88c1947
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
406 | 406 | | |
407 | 407 | | |
408 | 408 | | |
| 409 | + | |
409 | 410 | | |
410 | 411 | | |
411 | 412 | | |
| |||
414 | 415 | | |
415 | 416 | | |
416 | 417 | | |
| 418 | + | |
417 | 419 | | |
418 | 420 | | |
419 | 421 | | |
| |||
0 commit comments