-
Notifications
You must be signed in to change notification settings - Fork 273
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
GitLab script fails with Errno::EACCES: Permission denied @ rb_sysopen - #574
Comments
After bisecting the problem first not working version is omnibus 1.137.2 #557. |
A fix for this is to leave out --path vendor, to use default path for bundle install. I believe the error comes from the change on dependabot-core dockerfile, where the user has been changed from root to a dependabot user with less privileges, and so does not have rights to write to the vendor folder. |
We've just merged a fix to the core dockerfile that should hopefully fix this, will confirm. |
For some context. I made this change in core dependabot/dependabot-core#3398 which is what's caused these issues, I'm sorry for any hassle this has caused and for not spotting this would cause downstream issues. The docker container in core now creates a Or if you have your own Alternatively, you can still build and run only the core container and volume mount the folders but this requires rebuilding the dependabot-core container with |
I can confirm the issue has been solved. Thank you! |
On
$ bundle install -j $(nproc) --path vendor
step.Logs:
The text was updated successfully, but these errors were encountered: