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

Setting up GitHub Self-Hosted Runner On-Demand: Permission Denied Error #183

Open
Surbhisinghal18 opened this issue Feb 17, 2024 · 0 comments

Comments

@Surbhisinghal18
Copy link

I'm trying to set up a GitHub self-hosted runner to run on-demand tasks using the reference from here [https://github.com/marketplace/actions/on-demand-self-hosted-aws-ec2-runner-for-github-actions.]

I've managed to set it up to a certain extent, but I'm encountering an issue when I run the ./run.sh file. The error message I receive is:

cp: cannot remove '/actions-runner/run-helper.sh' : Permission denied Unhandled exception. System.UnauthorizedAccessException: Access to the path '/actions-runner/_diag/Runner_20240217-utc.log' is denied It seems to be a permission-related issue, but I'm not sure how to resolve it. I've double-checked my setup and everything seems to be configured correctly, but I'm still getting this error.

Any insights into what might be causing this permission denied error and how I can resolve it would be greatly appreciated. Thank you!

It seems to be a permission-related issue, but I'm not sure how to resolve it. I've double-checked my setup and everything seems to be configured correctly, but I'm still getting this error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant