LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-24-2004, 05:13 AM   #1
twk
Member
 
Registered: Feb 2002
Location: Canada
Distribution: Fedora/RHEL
Posts: 152

Rep: Reputation: 31
subversion PROPFIND problem


Everytime I tried to add a folder, relocate my current repository I get this

PROPFIND request failed on '/svn/repos/abc'
Could not open the requested SVN filesystem

I did chown -R my repository dir to www-data:www-data.

my parent repository dir is at
/repos

the repository is in
/repos/abc

I did ran svnadmin create on it. All files under it are www-data:www-data

any help will be appreciated

here's my dav_svn.conf

Code:
<Location /svn>

  # uncomment this to enable the repository
  DAV svn

  # set this to the path to your repository
  SVNParentPath /repos

  # The following allows for basic http authentication.  Basic authentication
  # should not be considered secure for any particularly rigorous definition of
  # secure.

  # to create a passwd file
  # # rm -f /etc/apache2/dav_svn.passwd
  # # htpasswd2 -c /etc/apache2/dav_svn.passwd dwhedon
  # New password:
  # Re-type new password:
  # Adding password for user dwhedon
  # #

  # Uncomment the following 3 lines to enable Basic Authentication
  AuthType Basic
  AuthName "Subversion Repository"
  AuthUserFile /etc/apache2/dav_svn.passwd

  # Uncomment the following line to enable Authz Authentication
  # AuthzSVNAccessFile /etc/apache2/dav_svn.authz

  # Uncomment the following three lines allow anonymous read, but make
  # committers authenticate themselves

  <LimitExcept GET PROPFIND OPTIONS REPORT>
  Require valid-user
  </LimitExcept>

</Location>
 
Old 08-24-2004, 11:09 AM   #2
Oliver Maurhart
LQ Newbie
 
Registered: Apr 2004
Posts: 3

Rep: Reputation: 0
Hi,

I'm using SuSE 9.1 now and got that problem too.

My solution:

- Check what User/Group your apache2 runs (/etc/apache2/uid.conf)
- Go into your svn-repository and chown/chgrp all files there to those of the apache

Pitfall:

- whenever you init a "svnadmin recover" (or something like writing through svnadmin command to the db) your Berkely DB files ("__db.???") will be restet to root/root and you will get that error again ... since then the db is just accessable by root which will cause the apache2 to fail.

Help?


Oliver
 
  


Reply



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
subversion (import - co problem) os2 Linux - Software 0 08-17-2005 03:36 PM
subversion varun_33 Linux - Software 1 04-20-2005 12:37 PM
Entires in Apache Web Log - OPTIONS/PROPFIND ayhopkins Linux - Security 1 03-06-2005 04:10 AM
subversion sethgeekx86 Slackware 8 07-26-2004 03:29 PM
How to install Subversion(Version Control with Subversion) under RedHat Linux. netkiller Linux - Networking 1 07-01-2004 05:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:39 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration