[users@httpd] Strange Permission problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux