Skip to content
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

Apache read permission requirements #109

Closed
FooBarWidget opened this issue May 29, 2014 · 4 comments
Closed

Apache read permission requirements #109

FooBarWidget opened this issue May 29, 2014 · 4 comments

Comments

@FooBarWidget
Copy link
Member

From salisan on April 12, 2008 13:11:20

Rails will fail to load if the apache user lacks read permission to to
public/ or config/environment.rb.

When this happens the somewhat cryptic message:
"Passenger thinks that the Rails application's "public" directory is
"/www/path/public", but it doesn't seem to be valid."

Will be displayed. The documentation should note that the apache user needs
read access to these files or the message should be changed to something a
bit less cryptic.

Original issue: http://code.google.com/p/phusion-passenger/issues/detail?id=8

@FooBarWidget
Copy link
Member Author

From honglilai on April 14, 2008 13:33:35

Thanks for the report. Could you check whether the error message printed by the
latest development version (i.e. the one in the git repository) is more useful?

Also, I can't seem to reproduce this. What were your exact file permissions?

Status: Started

@FooBarWidget
Copy link
Member Author

From salisan on April 14, 2008 15:20:04

I had drwxr-s--- on everything previously when it was running under mongrel.
It's the lack of +x for the apache user on the directories public or config that
caused the problem.

The new message looks much better, it is not really much of an issue I just had to
check the source to figure out why that message was printed and that was annoying.

@FooBarWidget
Copy link
Member Author

From honglilai on April 14, 2008 15:29:45

Status: Fixed

@FooBarWidget
Copy link
Member Author

From honglilai on April 14, 2008 15:35:01

Labels: Milestone-1.0.2 Usability

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant