I'm trying to create a subversion repo in Arch Linux from scratch as following this tutorial in Arch forums : Subversion in Arch but it doesn't matter which protocol I use to connect I cannot make it work.
If I try the WebDav authentication as the first part of the wiki and also, checking this other tutorial to complement the info: Tutorial 2 , I get the next message if I try to import a project, locally or even remote i get the same:
svn import -m 'I' svn-import/ http://localhost/svn/prueba
svn: E175002: Unexpected HTTP status 405 'Method Not Allowed' on '/svn/prueba'
svn: E175002: Additional errors:
svn: E175002: PROPFIND request on '/svn/prueba' failed: 405 Method Not Allowed
For this one I followed all the steps in Arch wiki and tried putting the <Location>
configuration in /etc/httpd/conf/extra/httpd-vhosts.conf
or also tried in /etc/http/conf/httpd.conf
but without results.
In the other hand I tried svnserve as to use the svn protocol but I get an error on the permissions for the format file in my repo file, says permission denied.
For this one, initially I created a user svn
for subversion and a group svnusers
to get me and apache(http) user there, with permissions 764 or even 774 in the repo root and beyond, so http could write there but there was no use. Tried then to get http own the directory but same result. I configured the /etc/conf.d/svnserve
file to get the server work with my repo path at start if your asking and tried also the svnserve -d -r /path
way but nothing.
Something important to say is as per this other two: Ubuntu subversion and CentOs subversion (obviously omitting OS specific commands) I set up the passwd
and the svnserve.conf
files as needed to use svn protocol or well, svn+ssh but nothing have worked so far.
Could someone tell me the correct way of setting this up and importing a project to it? My guess is I'm also doing something wrong in issuing the svn import command but don't know what. Thanks