You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Pavlik1234 <Pa...@gmx.net> on 2010/07/02 13:36:38 UTC

[users@httpd] (13)Permission denied: file permissions deny server access:

Hi all,

my apache server can't access to text.txt. text.txt is in DocumentRoot. If i
try to open this file, apache writes "(13)Permission denied: file
permissions deny server access:"  into log.

Apache runs as apachusr 

ps -ef | grep httpd

apachusr 7780  8718  0 13:12:11 ?        0:00 /.../bin/httpd -d ...


apache and text.txt belong to the same group. But text.txt has another
owner.

 ls -l text.txt
-rwxrwx---   1 textowner textgroup 887 Nov 24  2006 .../text.txt

apachusr belong to the group textgroup 

cat /etc/group
textgroup ::22:apachusr 

I can open text.txt as apachusr with cat or vi. But apache server can't open
the file. 

Please help!







-- 
View this message in context: http://old.nabble.com/%2813%29Permission-denied%3A-file-permissions-deny-server-access%3A-tp29055303p29055303.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org