LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 03-27-2013, 10:10 AM   #1
paulororke
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 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?
 
Old 03-28-2013, 12:00 AM   #2
eklavya
Member
 
Registered: Mar 2013
Posts: 530

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


Reply


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 06:20 PM.

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