You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Bindul Bhowmik <bi...@gmail.com> on 2006/02/14 19:17:35 UTC

[users@httpd] Strange Permission problems

Hello List,

I am a light user of the httpd server. However, for one of our projects here
we set up a new machine for subverison and I was trying to set up httpd in
that machine. I came across a (13) Permission denied problem. Not sure how
to get around it. I tried looking in the archives, but could not find much
help there.

Here is my configuration:
<Location /svntest>
   DAV svn
   SVNPath /svnroot/testrepo

   Require valid-user

   # How to Authenticate
   AuthType Basic
   AuthName "Subversion Repository"
   AuthUserFile /svnroot/config/svn-users
</Location>

This is inside a Virtual host in the ssl.conf configuration. When I try to
access this from my browser I get a prompt for the user name and password
and when entered I see the following in the logs:
[Tue Feb 14 22:37:32 2006] [error] [client xxx.xxx.xxx.xxx] (13)Permission
denied: Could not open password file: /svnroot/config/svn-users

The file permissions leading up to svnusers is:
drwxrwxr-x    4 apache apache  4096 Feb 14 21:44 svnroot
    drwxr-xr-x  2 apache apache 4096 Feb 14 21:44 config
        -rwxr-xr-x  1 apache apache  23 Feb 14 21:44 svn-users

The permissions actually were a bit stricter earlier, allowing only read
access to apache, but to try out things I allowed these permissions - still
no luck.

We are running httpd 2.0.53-3.3 on Fedora FC3. This is the process listing
of all httpd processes:
ps -ef | grep httpd | grep -v grep
root     20617     1  0 22:12 ?        00:00:00 /usr/sbin/httpd
apache   20620 20617  0 22:12 ?        00:00:00 /usr/sbin/httpd
apache   20621 20617  0 22:12 ?        00:00:00 /usr/sbin/httpd
apache   20622 20617  0 22:12 ?        00:00:00 /usr/sbin/httpd
apache   20623 20617  0 22:12 ?        00:00:00 /usr/sbin/httpd
apache   20624 20617  0 22:12 ?        00:00:00 /usr/sbin/httpd
apache   20625 20617  0 22:12 ?        00:00:00 /usr/sbin/httpd
apache   20626 20617  0 22:12 ?        00:00:00 /usr/sbin/httpd
apache   20627 20617  0 22:12 ?        00:00:00 /usr/sbin/httpd


By the way, I even tried accessing the SVN repository without any
authentication and I get a similar error in the logs. the /svnroot/testrepo
is owned by apache user.


Any help would be appreciated.

TIA,
Bindul

Re: [users@httpd] Strange Permission problems

Posted by Joshua Slive <jo...@slive.ca>.
On 2/14/06, Bindul Bhowmik <bi...@gmail.com> wrote:

> We are running httpd 2.0.53-3.3 on Fedora FC3.

Don't need to see anymore.  Check the links on selinux:
http://httpd.apache.org/docs/2.2/faq/error.html#error.permissiondenied

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