-
Notifications
You must be signed in to change notification settings - Fork 91
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
Published gem for xero-ruby 4.3.1 has incorrect permissions #264
Comments
PETOSS-318 |
Thanks for raising an issue, a ticket has been created to track your request |
This caught us out as well, worked fine locally, deployed to production and bang! 💥 |
Hi all, Apologies for the delay. We have fixed the permissions issue in the latest xero-ruby package i.e., v5.0.0 Latest release also includes lot of other changes. Do check out the release notes for details. Revert back to us if you are still facing any issues. Thank you for your patience! |
Closing the issue. Reopen or create new issue incase facing any issues. |
Hi. It appears that xero-ruby v4.3.1 has incorrect file permissions. The included *.rb files have 0700 perms, whereas they should likely be 0644.
A common security practice is to install gems and other artifacts with one user and then run the app as a different user. With 0700 perms, this is impossible and results in the following error when booting the app:
A sample of the actual installed perms:
v4.2.0 is known to be good. I did not check v4.3.0.
The text was updated successfully, but these errors were encountered: