Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I posted similar thread recently, but I was on hurry, so I didn't provide any necessary information. I followed arch-linux wiki guide for setting up a SVN repository using apache and ssl. I'm almost certain, that I understand all the steps, and that I filled them correctly. Here is the guide: When I try to connect using

svn co



the http authentication asks me to fill my account's name and password. After the form (no matter if name and password are correct), there's a message:

Server sent unexpected return value (500 Internal Server Error) in response to OPTIONS request for

I checked httpd/errors_log, and every time I try to connect, apache outputs:

[Thu Nov 29 22:19:45 2012] [error] [client] (13)Permission denied: Failed to load the AuthzSVNAccessFile: Can't open file '/home/svn/.svn-policy-file': Permission denied
[Thu Nov 29 22:19:57 2012] [error] [client] (13)Permission denied: Could not open password file: /home/svn/.svn-auth-file

But here's my ls -la on /home/svn

-rwxrwxrwx 1 http http    40 Nov 29 16:02 .svn-auth-file
-rwxrwxrwx 1 http http    43 Nov 29 17:58 .svn-policy-file

I ran even 777 on them, so I just don't have a clue what causes the problem. Thanks for help in advance :)

@Lazy Badger Here's my /etc/httpd/conf/extra/httpd-ssl.conf part related to ssl, it's in virtual hosts section

<Location /svn>
   DAV svn
   SVNParentPath /home/svn/repositories
   AuthzSVNAccessFile /home/svn/.svn-policy-file
   AuthName "SVN Repositories"
   AuthType Basic
   AuthUserFile /home/svn/.svn-auth-file
   Satisfy Any
   Require valid-user

Changing to un-dotted configs does not change anything :/

Saying it's outside the jail you mean it's not in /etc/httpd/conf or /srv/http ? I think it's not the problem, the path is absolute.

share|improve this question

migrated from Nov 30 '12 at 9:42

This question came from our site for professional and enthusiast programmers.

1. Don't use dotted files now 2. Can your Apache be chrooted and files these outside jail? 3. Show subversion-related <Location> – Lazy Badger Nov 30 '12 at 6:10
@LazyBadger I updated above post, thanks for helping me – Ged Z Gontu Nov 30 '12 at 7:25

1 Answer 1

Set permissions also on the folder, that contains files svn-policy and svn-auth.

chown http /home/svn -R

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.