Skip to content

Conversation

lruggieri
Copy link
Contributor

chown-ing the whole /build directory creates issues when running xgo in an environment with limited privileges (eg. most CIs).
As specified by the comment above the command, the purpose of this chown is to

set owner of created executables to owner of the /build directory

and since all executables start with $NAME, I think it's safe to limit which files are being chown-ed to the ones created by build.sh

@techknowlogick techknowlogick merged commit 6962a7c into techknowlogick:main Jun 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants