although we only chown if the build was requested by a local daemon user. daemonless invocations will not chown as they do not have to. remote builds *can* chown to the remote builder user, but that does not seem to happen (for some reason keep-failed is not propagated). Change-Id: Ic0ead406b38b4ca0556fec42d84888efa25123bf
565 B
565 B
synopsis, issues, cls, category, credits
| synopsis | issues | cls | category | credits | |
|---|---|---|---|---|---|
| `--keep-failed` chowns the build directory to the user that request the build | Improvements |
|
Running a build with --keep-failed now chowns the temporary directory from the
builder user and group to the user that request the build if the build came from
a local user connected to the daemon. This makes inspecting failed derivations a
lot easier. On Linux the build directory made visible to the user will not be in
the same path as it was in the sandbox and continuing builds will usually break.