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

artifact: git needs more files for private repositories #16495

Closed
wants to merge 1 commit into from

Conversation

shoenig
Copy link
Member

@shoenig shoenig commented Mar 14, 2023

This PR fixes artifact downloading so that git may work when cloning from
private repositories. It needs

  • file read on /etc/passwd
  • dir read on /root/.ssh
  • file write on /root/.ssh/known_hosts

Add these rules to the landlock rules for the artifact sandbox.

Fixes #16477

@shoenig shoenig changed the title landlock: git needs more files for private repositories artifact: git needs more files for private repositories Mar 14, 2023
@shoenig shoenig force-pushed the landlock-git-passwd branch from 9793922 to 37c798b Compare March 14, 2023 20:07
This PR fixes artifact downloading so that git may work when cloning from
private repositories. It needs

- file read on /etc/passwd
- dir read on /root/.ssh
- file write on /root/.ssh/known_hosts

Add these rules to the landlock rules for the artifact sandbox.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant