Apache and file permissions

Posted by Matthew on Stack Overflow See other posts from Stack Overflow or by Matthew
Published on 2010-03-21T14:24:25Z Indexed on 2010/03/21 14:31 UTC
Read the original article Hit count: 436

Filed under:
|
|

I'm running LAMP on Ubuntu 8.04. Apache's username and group are www-data. I put my connection details and AES key in a file in a directory that's not web served. I chown-ed the files to www-data:www-data and set the permissions to 700. Still, the script that require()s these files will only run if I chmod the files to 755. What am I missing?

© Stack Overflow or respective owner

Apache and file permissions

Posted by Matthew on Server Fault See other posts from Server Fault or by Matthew
Published on 2010-03-21T14:24:25Z Indexed on 2010/03/21 15:01 UTC
Read the original article Hit count: 436

Filed under:
|
|

I'm running LAMP on Ubuntu 8.04. Apache's username and group are www-data. I put my connection details and AES key in a file in a directory that's not web served. I chown-ed the files to www-data:www-data and set the permissions to 700. Still, the script that require()s these files will only run if I chmod the files to 755. What am I missing?

© Server Fault or respective owner

Related posts about apache

Related posts about ubuntu