Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Due to unknown reasons, some packages (notably yarn and npm) will stall during a build process. This causes a major problem, because the process cannot be killed and a cold-reset is needed to restart the system (a shutdown or reboot will hang trying to umount the partition where the build is happening). By letting the `/build` subdirectory be group-readable by the nixbld group, the problem is fixed. Also we do not sacrifice build privacy, because the parrent directory is owned by `root` and set to `700`. So even if we have a malicious setguid binary in one build and another tries to run it, it cannot access it because the parent folder is owned by `root`. fixes #11806 fixes NixOS/nixpkgs#353709 Signed-off-by: Florian Brandes <[email protected]>
- Loading branch information