You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Sebastian Beschke <s....@gmx.de> on 2004/06/18 23:59:24 UTC

SVN Newbie: Problems setting up svnserve (Connection is read only)

Hi everyone,

I apologize if this is a newbie question. I tried to search the ML 
archives, but didn't find anything about the issue.

I try to setup svnserve on my system. I've created a repository living 
in /usr/share/svn_repos/test. The svnserve.conf inside the test 
directory looks like this:

[general]
password-db = userfile
realm = example realm
                                                                                                                             

anon-access = none
auth-access = write


The userfile is this:

[users]
dersebi = a
maluku = a

I then start svnserve using the command

svnserve -d -r /usr/share/svn_repos

I can checkout fine, but after trying to commit any changes, the commit 
fails saying that the connection is read-only. Now from my 
understanding, the anonymous checkout shouldn't be possible, and svn 
should ask for authentication. Why doesn't it?

Even setting anon-access to write doesn't allow committing the working copy.

Thanks in advance for any advice,
Sebastian

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: SVN Newbie: Problems setting up svnserve (Connection is read only)

Posted by Ben Collins-Sussman <su...@collab.net>.
On Fri, 2004-06-18 at 18:59, Sebastian Beschke wrote:
> Hi everyone,
> 
> I apologize if this is a newbie question. I tried to search the ML 
> archives, but didn't find anything about the issue.
> 
> I try to setup svnserve on my system. I've created a repository living 
> in /usr/share/svn_repos/test. The svnserve.conf inside the test 
> directory looks like this:

It sounds like your svnserve.conf file is being completely ignored.  It
should be located inside the 'conf/' subdirectory of your repository (at
/usr/share/svn_repos/test/conf/svnserve.conf, assuming your repository
is /usr/share/svn_repos/test/).  There should be an 'example'
svnserve.conf already there, in fact.  Did you create a new
svnserve.conf in the wrong location?



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org