LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-30-2014, 05:07 AM   #1
AlexRsk
LQ Newbie
 
Registered: Oct 2014
Posts: 2

Rep: Reputation: Disabled
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?

Last edited by AlexRsk; 10-30-2014 at 05:15 AM.
 
Old 10-30-2014, 08:18 AM   #2
AlexRsk
LQ Newbie
 
Registered: Oct 2014
Posts: 2

Original Poster
Rep: Reputation: Disabled
Problem solved. Thnx for attention.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
i have no permission to create file in www directory mozzb Linux - Server 2 09-04-2014 10:13 AM
Forbidden (/var/www/directory access error) amritpalpathak Linux - Software 15 08-02-2011 03:43 AM
Give www-data permission to sudo dangibas Programming 5 08-30-2010 02:35 PM
Folder Permissions :: Access denied for user 'www-data'@'localhost' own3mall Linux - Software 5 08-09-2009 07:52 PM
What is the correct Samba permission to my webserver /www directory? how to piratebiter Linux - General 1 09-21-2003 07:12 PM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration