Directory Permissions question
so i have a folder , /home/brian/www/html
and the permissions on that folder are rwx_ _ _ _ _ _, or 700 ok, so within that directory is some html that i configured apache to read and put on the web....how is apache reading those files though, it reads them but you would think with the permissions that way it wouldnt be able to please help! |
I believe apache runs as superuser, so it bypasses file protections.
|
Apache runs as whatever user and group that you specify in the Apache config file - for example:
user nobody group nogroup I've had problems in the past where if the file didn't have the correct permissions then Apache would error in trying to read them. Is your Apache config'd to run as your user? |
Hey apache is configured to run as apache, nobody.....and the user diretory is something different.
thanks |
What are the permissions of the file(s) being read by apache? Do they match the permissions of the directory? Do they also match the owner and group of the directory?
|
All times are GMT -5. The time now is 11:53 PM. |