-
Notifications
You must be signed in to change notification settings - Fork 549
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
Ruby Permissions Issue #2495
Comments
it sounds like the gems might have been installed with root accidentally, can you check the owner of the files under |
All those gems are
As for |
I guess I should add that this app is owned by |
So you as |
Yes. That's how I've always set these up. I've changed |
Then I guess the next step is to provide a Dockerfile that reproduces the issue for me to look at. |
Well, I'm going to start again. I haven't done any Dockerfiles nor will it guarantee any replication. I'm going to move the |
My admin user is the one that creates the Gemfile and installs gems. Should I be using another user? |
It is most likely to work if the user that runs the application installs the gems. |
If I change the ownership of that |
By default Passenger creates a new process running as the user who owns the startup file for the app, and then has that process start the app as that user. |
OK thanks for that. I'm going to play around. Permissions over the years has had me look for alternative directories for |
Issue report
Are you sure this is a bug in Passenger?
Yes. The error is coming up in the Passenger log.
Question 1: What is the problem?
The log is reporting a permissions issue:
Permissions on that directory are
-rwxr-xr-x.
Never in my history with Passenger have I seen a permissions issue with Ruby. I had some Passenger gems installed before now, which I deleted. This is adnf
install onAlmalinux
.I don't know how you could replicate it. This is the error reported in the log.
Question 2: Passenger version and integration mode:
Passenger processes:
passenger status:
passenger-config about:
Question 3: OS or Linux distro, platform (including version):
Question 4: Passenger installation method:
[X] Phusion YUM repo
Question 5: Your app's programming language (including any version managers) and framework (including versions):
Question 6: Are you using a PaaS and/or containerization? If so which one?
None
Question 7: Anything else about your setup that we should know?
None that I know of at this time
The text was updated successfully, but these errors were encountered: