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

Permission denied while executing node binary on Ephemeral runners #4004

Open
apoorva-marisomaradhya opened this issue Jul 19, 2024 · 3 comments

Comments

@apoorva-marisomaradhya
Copy link

Hello!

We have self hosted runners which are ephemeral in state, and we have started seeing the below Permission denied errors
Error: An error occurred trying to start process '/opt/actions-runner/externals/node20/bin/node' with working directory in the workflow
'/opt/actions-runner/_work/gandalf/gandalf'. Permission denied
FWIW the error goes away if we re-run the workflow..

Any help to resolve this issue will be highly appreciated.
Let me know if more information is needed to debug, will be happy to share the same.

Thank you,
Apoorva

@stuartp44
Copy link
Collaborator

This sounds like a upstream issue? are you trying to write to a non existing directory that is yet to be created?

@npalm
Copy link
Member

npalm commented Aug 6, 2024

Agree this is most likely a problem related how you setup the runner. By re-running you creat a new runner (ephemeral) and all persisted data is gone. A permission error could be related to permissions used by the agent and your job. For example running as non root and using docker in several steps can cause permissions clashes on the file system.

Copy link
Contributor

github-actions bot commented Nov 5, 2024

This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the Stale label Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants