View the Most Wanted LQ Wiki articles.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-27-2013, 10:10 AM   #1
LQ Newbie
Registered: Jul 2005
Location: Cobble Hill, BC, Canada
Distribution: FC2, FC3, RHEL3
Posts: 4

Rep: Reputation: 0
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?
Old 03-28-2013, 12:00 AM   #2
Registered: Mar 2013
Posts: 612

Rep: Reputation: 135Reputation: 135
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Setting up Subversion and websvn on Debian LXer Syndicated Linux News 0 09-12-2006 11:03 AM
How to config websvn? junming_w Linux - Software 0 12-09-2005 04:08 AM
Can't su (permissions issue) WeNdeL Linux - General 3 12-05-2005 10:48 AM
permissions issue with X gvaught Debian 3 01-02-2005 12:07 PM
Call to undefined function: gzopen() for WebSVN dancindoc Linux - Software 1 08-26-2004 04:41 PM

All times are GMT -5. The time now is 05:07 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration