-
-
Notifications
You must be signed in to change notification settings - Fork 32
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
Access denied when running as Github action #7
Comments
I found a workaround by copying files to the container manually:
|
I have the same issue , I figured it out that it is the uid mapping of the mounted volumes. |
I have a vague understanding of the uid issue, and I've seen a fork of this repo has done some related work: But I don't really understand it enough to confidently apply any of it myself. In my CI I prepare things ahead of time with |
I had a similar problem, when I tried to run this docker through This time I handled it using a brute force method: since it's a permissions problem (and since podman itself has no security issues if run as root) I regained the root permissions to innosetup docker file. Here is my
Maybe the only required commands are only USER and RUN/chown, but just in case, I re-enter the last parts. And this works for me. |
@teras wrote:
It works but it brings another permission issue. |
I am trying to run this container as part of a GitHub pipeline, locally everything runs, however, as GitHub Actions I get
Error in Z:\work\setup.iss: File access denied.
This is even though I set chmod 777:
This is the output I get from the action (https://github.com/13hannes11/focus_annotator/runs/5304797855?check_suite_focus=true):
The text was updated successfully, but these errors were encountered: