LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   permissions issue in websvn (http://www.linuxquestions.org/questions/linux-software-2/permissions-issue-in-websvn-4175455795/)

paulororke 03-27-2013 10:10 AM

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

I folowed this http://help.ubuntu.com/community/Subversion

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

Code:

NameVirtualHost *:443
ServerName svn.tracker-software.com
<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
  </Location>
</VirtualHost>

Quote:

I get a 403 forbidden when I enter the password.
Forbidden

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

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

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

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

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 12: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 09:54 AM.