Hey folks, I’m running pants 1.14 (but tested with...
# general
s
Hey folks, I’m running pants 1.14 (but tested with this issue with the rc 1.15 and dev 1.16) and am having some issues with remote execution. For some reason, pants is attempting to make a go.sum change but cannot do so as the files are created as read only on the remote. As a consequence, the remote execution pod will only work as root, but we’re trying not to do so The error is:
Copy code
stderr:
go: updating go.sum: open /worker/build/<hash>/root/go.sum: permission denied
w
mm: would you mind filing an issue for that? it’s becoming clear that we’ll want to enforce a restriction that input files are immutable more generally… we currently don’t for local execution though, which allows for this mismatch.
s
Will do, the consequence of this current setup is we’ll have to turn off remote exec for our go work unfortunately
f
what happens if you run
go mod download
and update
go.sum
to add the entries that
go
wants to add?