-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Do not set attributes when spawning the getter child #16791
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR @the-nando!
I believe we can eliminate the credentials()
helpers altogether now as well since they aren't being used in any case. Do you mind cleaning those up as well?
And can you run make cl
to add a Changelog entry for this PR?
Thanks!
The
Does it still make sense to test for directory ownership as the getter now can only run under the same user Nomad runs? If not, I can remove the chown 's assertions and cleanup the other files too.
|
@shoenig please have a look if it looks ok this way. Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
* Do not set attributes when spawning the getter child * Cleanup * Cleanup --------- Co-authored-by: the-nando <[email protected]>
95359b8 disabled running the artifact downloader on Linux as the user
nobody
but left behind the code to set UID / GID, which are currently set as the same ones the user Nomad runs under. The current implementation however doesn't work, as described in #16789.This PR removes setting attributes altogether as they are technically non required and they'll be inherited from the parent.
Fixes #16789