skip to Main Content

I wanted to install subversion to my google cloud linux server as following guide

https://www.vultr.com/docs/how-to-setup-an-apache-subversion-svn-server-on-centos-7

When I try to clone repository over server(Centos-7) have error

http authorization required
realm: Kuka Entertainment Repository Server
url: http://IP.IP.IP.IP/svn/ElementBall
 HTTP Error: 403 (Forbidden)

I have already checked capitalcase issues and anyother.

checked logs and the error is Failed to load the AuthzSVNAccessFile: Can't open file '/svn/authz': Permission denied

Conf

<Location /svn>
DAV svn
SVNParentPath /svn
AuthName "Kuka Entertainment Repository Server"
AuthType Basic
AuthUserFile /etc/svn/svn-auth
AuthzSVNAccessFile /svn/authz
Require valid-user
</Location>

Authz file

[groups]
admin=user001

[/]
@admin=rw

2

Answers


  1. Chosen as BEST ANSWER

    During a long time search, I have found reason. Disable selinux.

    sudo vi /etc/selinux/config
    
    #edit below line as
    SELINUX=enforcing
    #to
    SELINUX=disabled
    

    and reboot server


  2. The error Failed to load the AuthzSVNAccessFile: Can't open file '/svn/authz': Permission denied means that the user account that runs the Apache service does not have read permissions to the /svn/authz file. Therefore Apache can’t read the permission list. Adjust the permissions.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search