Subversion and FreeBSD permission problems
darrell.blake at gmail.com
Sun Mar 23 09:29:50 PDT 2008
I'm fairly new to FreeBSD and SVN but myself and a few developer
friends are undertaking a small project and I've been tasked with
getting the source control working. I decided to use FreeBSD for the
server for numerous reasons, stability and security among them. I'm no
stranger to Unix, however, I've been using Linux for a long time.
Anyway, my server is up and running and I've install svn via the ports
system (acquire from portsnap). I have set up a repository in
/usr/local/svn/repository via "svnadmin create
/usr/local/svn/repository" and imported a test project into it via
"svn import TestProject file:///usr/local/svn/repository/TestProject".
I then fired off the deamon server via "svnserve -d -r
/usr/local/svn/repository" which all seems to have worked well.
The thing is, I can't actually perform a checkout of the repository
via the server.
If I move into a temp directory and do "svn checkout
file:///usr/local/svn/repository/TestProject" it works fine but if I
do "svn svn://127.0.0.1/TestProject" I get an error stating "svn:
Can't connect to host '127.0.0.1': Connection refused".
Also, if I try and use TortoiseSVN to browse the repository externally
I get an error stating "Error * Can't connect to host '192.168.0.10':
No connection could be made because the target machine actively
Does anyone have any idea what I could be doing wrong? I've been
reading the free O'Reilly Subversion book but I'm a bit clueless. I
suspect it's something to do with permissions on FreeBSD but I just
don't know enough about it =o)
More information about the freebsd-questions