This repository has been archived by the owner on Dec 8, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 22
File permissions cause LoadError #54
Comments
Likely related to #42. |
This problem does not affect any of the google-cloud-* gems, googleauth, google-protobuf, grpc, or grpc-google-iam-v1. |
This was referenced Jan 20, 2017
Here are the file permissions of the latest gem, 0.7.0:
This looks to be fixed so I will close this issue. We will move to the latest version as soon as we can. Thanks much! |
The googleapis-common-protos gem still has not had a release that fixes the file permissions. |
@swcloud This is the issue created for both |
This was referenced Apr 2, 2017
Closed
geigerj
added a commit
to geigerj/gax-ruby
that referenced
this issue
Sep 27, 2017
Grant a+rx permissions throughout to prevent re-occurrence of googleapis#54
Closed
yoshi-automation
added
🚨
This issue needs some love.
triage me
I really want to be triaged.
labels
Apr 6, 2020
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi, the google-cloud-ruby project has a couple of reports of
LoadError
when requiring "google/gax". (See googleapis/google-cloud-ruby#1193 and googleapis/google-cloud-ruby#1194) The cause for this is that the gems are packaged with files using 640 permissions, where 664 or 644 permissions are expected.A very common production scenario for Ruby applications is to have a
deploy
user install the application and all dependent libraries, and anapp
user account run the application. Because of how the google-gax file permissions are set, it is entirely possible that theapp
user cannot read the files, and aLoadError
is raised.Here are the permissions for google-gax 0.6.0:
This problem also affects googleapis-common-protos, but I don't see a repo for that gem, so I'm mentioning it here.
The text was updated successfully, but these errors were encountered: