https://pantsbuild.org/ logo
#development
Title
# development
c

curved-television-6568

02/06/2022, 11:00 AM
I’m trying to be clever with symlinks, and run into an error message I don’t fully understand (yet)..
I got:
Copy code
Error expanding output globs: Failed to read link "/private/tmp/process-executionCEiV14/.docker_tools/sh": Absolute symlink: "/private/tmp/process-executionCEiV14/.docker_tools/sh"
If this is directly apparent to anyone, hints welcome. I’m off for a while, will continue digging once I get back.
h

happy-kitchen-89482

02/06/2022, 4:34 PM
If I remember correctly, the engine doesn't like symlink cleverness...
I think this is so that symlinks can't escape the sandbox, which would defeat repeatability/hermeticity/remotability
But I am not the expert
c

curved-television-6568

02/06/2022, 4:55 PM
Ah, ok. That makes sense. Hmm… will have to be even more clever, or look into if there is some other way to setup a temp directory with symlinks.
What I’m trying to do is setup a bin dir that I can include in a
Process
request, that I can add to the
PATH
so I can control what additional binaries are available in the sandbox.
h

happy-kitchen-89482

02/06/2022, 6:03 PM
What's an example of a binary?
System utilities?