LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Apache can't access directory with permission www-data (https://www.linuxquestions.org/questions/linux-newbie-8/apache-cant-access-directory-with-permission-www-data-4175523767/)

AlexRsk 10-30-2014 04:07 AM

Apache can't access directory with permission www-data
 
Hello All. My OS is Linux Mint 17.
My goal is allow reading of /mnt/wwwdata for root and apache only.
I trying to setup apache document root in directory /mnt/wwwdata,
with rights 0770 for group wwwadmins, which contains users "root" and "www-data".
Apache was compiled from sources, not installed with apt-get. It places in /usr/local/apache2.

At this moment apache can't access php files in this directory. When i set 0777 to , it helps.

I suspect, that my compiled apache is another user, than 'www-data'. How I can to know name of apache?

AlexRsk 10-30-2014 07:18 AM

Problem solved. Thnx for attention.


All times are GMT -5. The time now is 04:15 PM.