[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: cannot connect to svnserve locally and remotely

From: Stefan Sperling <stsp_at_elego.de>
Date: Fri, 5 Sep 2014 11:35:14 +0200

On Thu, Sep 04, 2014 at 09:20:39PM -0700, James wrote:
> I got latest subversion setup on my latest Fedora 20.
>
> I created repository.
>
> I modified the svnserve.conf file and the passwd file in that repository.
> I modified the firewall to open 3690 to public for TCP.
> The svnserve.service is running. but I got E000013 error when I try to connect to it with svn protocol locally (the same machine) and remotely. The error message is this:
>
> $svn co svn://devserver/Playground Playground --username bowing
> svn: E000013: Unable to connect to a repository at URL 'svn://devserver/Playground'
> svn: E000013: Can't open file '/home/svn/Playground/format': Permission denied
>
> The svnserve is running:
>
> $systemctl status svnserve.service
> svnserve.service - Subversion protocol daemon
> Loaded: loaded (/usr/lib/systemd/system/svnserve.service; enabled)
> Active: active (running) since Fri 2014-09-05 00:10:29 EDT; 2min 16s ago
> Process: 1111 ExecStart=/usr/bin/svnserve --daemon --pid-file=/run/svnserve/svnserve.pid $OPTIONS (code=exited, status=0/SUCCESS)
> Main PID: 1129 (svnserve)
> CGroup: /system.slice/svnserve.service
> └─1129 /usr/bin/svnserve --daemon --pid-file=/run/svnserve/svnserve.pid -r /home/svn
>
>
> how to diagnosis the issue? how to fix it?
>
> Thanks,
> James

The user svnserve runs as needs read/write access to the repository.

Use chmod(1) to fix acess permissions and chown(1) to fix ownership.
Or perhaps use some SELinux tools to adjust access permissions (I don't
know which commands to use in that case).
Received on 2014-09-05 11:35:51 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.