Skip to content
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

fix(linux) ensure that users different than jenkins and root are allowed to start agent process #333

Conversation

dduportal
Copy link
Contributor

Related to #600, this PR ensures that any user, other than the default jenkins, root, and not included in the jenkins group (GID 1000) can read the agent.jar file.

A test has been added, which underlines the issue.

Fixup of #321.

Thanks to @peterwvj and their colleague for pointing out the problem.

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests - that demonstrates feature works or fixes the issue

…wed to start agent process

Signed-off-by: Damien Duportal <damien.duportal@gmail.com>
@dduportal dduportal merged commit 314a54b into jenkinsci:master Nov 23, 2022
@dduportal dduportal deleted the fix/jenkinsci/docker-inbound-agent/gh-307 branch November 23, 2022 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants