You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by su...@oceanfree.net on 2001/12/28 17:12:58 UTC

permission to open password file

hi all
i using kernel 2.4.18-pre1, with reiserfs
apache-1.3.22
i trying to use access control, but it shows errorrs than can't open password
file
the password file is in there.

[Fri Dec 28 23:04:27 2001] [error] [client 203.201.2.121] (13)Permission denied:
Could not open password file: /usr/local/httpd/passwd/password
[root@www :httpd]# =>cd passwd/
[root@www :passwd]# =>pwd
/usr/local/httpd/passwd
[root@www :passwd]# =>ls -al
total 9
drwxrwx---    2 nobody   nogroup        96 Dec 28 21:17 .
drwxrwx---   13 root     root          312 Dec 28 21:14 ..
-rw-rw----    1 nobody   nogroup        14 Dec 28 21:17 groups
-rwxr-----    1 nobody   nogroup        20 Dec 28 21:15 password

has anybody got this problem before ?
is this the problem with apache or reiserfs ?

thanks
regards
soragan


*************************** ADVERTISEMENT ******************************
For ALL the latest Soccer news on your club, GAA sports results and the
latest on your F1 stars plus much more check out
http://sport.iol.ie/sport. Sport On-Line.... It's a passion

---------------------------------------------------------------------
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
For additional commands, e-mail: users-help@httpd.apache.org


RE: permission to open password file

Posted by Joshua Slive <jo...@slive.ca>.
> From: supers@oceanfree.net [mailto:supers@oceanfree.net]

> [Fri Dec 28 23:04:27 2001] [error] [client 203.201.2.121]
> (13)Permission denied:
> Could not open password file: /usr/local/httpd/passwd/password

> drwxrwx---   13 root     root          312 Dec 28 21:14 ..

This indicatest that the web server user can't even get into
/usr/local/httpd, so the permissions on directories below that are
irrelevant.  You need to give at least search permission (+x) to all parent
directories.

Joshua.


---------------------------------------------------------------------
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
For additional commands, e-mail: users-help@httpd.apache.org