-   Linux - Software (
-   -   permissions issue in websvn (

paulororke 03-27-2013 11:10 AM

permissions issue in websvn
I'm struggling to set up websvn with ssl.

I folowed this

If I set up a virtual host to use SSL and Basic auth I get a password prompt


NameVirtualHost *:443
<VirtualHost *:443>
    DocumentRoot /var/www/
    SSLEngine on
    SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem
    SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key
<Location />
    DAV svn
    SVNParentPath /var/lib/svn
    SVNListParentPath Off
    AuthType Basic
    AuthName "SVN Repository"
    AuthUserFile /etc/apache2/dav_svn.passwd
    Require valid-user


I get a 403 forbidden when I enter the password.

You don't have permission to access / on this server.
I have run the following on /var/www

chmod -R 770 /var/www/
and on the repo

chmod 770 -R /var/lib/svn/
also tried

chown -R www-data:subversion /var/lib/svn/

chown -R www-data:www-data /var/www/
and am unsure what I need to do to make the site available.

Any suggestions?

eklavya 03-28-2013 01:00 AM

770 means no permission for others to read and execute the site.
Why don't you try 755 once, it is quite safe, it does not give any write permission to group and others.

All times are GMT -5. The time now is 11:34 AM.