-
Notifications
You must be signed in to change notification settings - Fork 879
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
Self-hosted runner launching a container fails on checkout #2278
Comments
Hey @mpconte, Thanks for reporting this. This issue is likely related to the file permissions on a volume mounted to your container. To work around this issue, you should probably provide a user mapping that would match the runner user. Note: If this does not describe your case, please let me know what user you are running your runner as, so we can try to reproduce this issue and get to the bottom of it |
I'm going to close out this issue until we hear back from you, please let us know if you are still seeing this issue! |
Run actions/checkout@v3.5.0 Error: EACCES: permission denied, open '/__w/_temp/_runner_file_commands/save_state_e8510c3c-b82c-4ab1-8da8-038038b213f9' I am having this issue also, how do i bypass this |
Are you running as a non-root in the container? If yes, the UID from the host machine should match the UID of the user within the container. |
@nikola-jokic what is the potential solution here? Should we use
|
Hey @semihural-tomtom, Updating listener spec here won't affect the issue, since the listener is not responsible for running the job. The only place where file permissions may cause this problem is on the runner |
Hey @nikola-jokic |
It is hard for me to reproduce the issue, but when tasked with the file permissions, you can always run the init container that will setup file permissions in the |
Describe the bug
File system permission errors occurs on reading
To Reproduce
Using an image built with the following Dockerfile:
After installing the github runner service as a service, launch the following workflow:
Expected behavior
I expect the checkout step to clone the repo successfully
Runner Version and Platform
Version of your runner? 2.299.1
OS of the machine running the runner? Linux - Ubuntu 20.04
What's not working?
Job Log Output
Runner and Worker's Diagnostic Logs
runner.log
The text was updated successfully, but these errors were encountered: