diff options
author | Ludovic Courtès <ludo@gnu.org> | 2025-07-12 11:42:04 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2025-08-23 16:56:11 +0200 |
commit | ca03f7379050c93a51fadb00659481180572157c (patch) | |
tree | 3db8c781ab967472facccc3ea3f55d896359202d /gnu/packages/patches/python-pytorch-fix-codegen.patch | |
parent | c5a92274976a6e9c0e6716744948b61e5c56fa3d (diff) |
daemon: Tolerate pipes and sockets in failed build trees.
Fixes <https://issues.guix.gnu.org/78919>.
Fixes guix/guix#471.
Fixes a bug introduced in ae18b3d9e6bd0c184505a094851448d08555e23e
whereby interrupting ‘guix build -K hello’ would leave a build directory
with root ownership due ‘secureFilePerms’ bailing out due to the
presence of FIFOs in the temporary build directory.
* nix/libstore/build.cc (secureFilePerms): Add ‘allowSpecialFiles’
parameter; honor it and pass it in recursive call.
(DerivationGoal::deleteTmpDir): Pass true as the second argument to
‘secureFilePerms’.
Reported-by: Janneke Nieuwenhuizen <janneke@gnu.org>
Reported-by: David Elsing <david.elsing@posteo.net>
Change-Id: I638a4ee909a2b5022f9153e1cbb832bfb2e15263
Diffstat (limited to 'gnu/packages/patches/python-pytorch-fix-codegen.patch')
0 files changed, 0 insertions, 0 deletions