-
Notifications
You must be signed in to change notification settings - Fork 380
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
Frequent EACCES: permission denied errors with Docker image cypress/included:9.1.1 #560
Comments
FYI. This is still happening with the Cypress 9.2.0 images. The same build running with |
Hi @mauricedb, thx for the info. I also tested older version and it is running fine, I just missed to put the info here. I am also running on 8.7.0 now. I hope this is fixed soon. Cheers! |
Can you try the work around mentioned here: cypress-io/github-action#446 (comment) configuring the job to run as a non root user. |
Hi @mjhenkes,
If you have tests which are creating folders you probably will run into the same kind of issues. Then also give full permissions to the target folders. |
@FabianBruengerDedalus2 where did you run that? example? |
That worked for me using the |
|
I had the same issue and tried above mentioned solutions but did not work for me. By adding
|
I'm using a playwright image and landed here googling the error message |
None of the proposed workarounds work.
using a self-hosted runner (simple linux instance ) and tried all images from node 16.x and above.. |
Closing this issue, as Cypress GitHub Actions now documents
The issue from @gkatsanos #560 (comment) appears to have a separate root cause as recent tests showed that GitHub-hosted runners had no problem. |
Recently I have been seeing frequent EACCES: permission denied errors while running GitHub actions.
They all seem to be around the
/root/.cache/Cypress
folder. I am under the impression this started when Cypress 9.0.0 was released.Some examples:
This only seems to happen in GitHub Actions that are using the cypress/included:9 Docker image. Other ones that don't use the Docker image run just fine.
The text was updated successfully, but these errors were encountered: