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

anon-access none and svn cat

From: M. van Renswoude <mark_at_x2software.net>
Date: 2004-03-12 10:47:27 CET

Hi everyone,

thanks to those who helped me with my previous problem I now have two SubVersion servers running using inetd. One of those is meant for public access, one for private projects (using a different port). That part works, they use seperate root directories as specified. However, on the private server it seems I can do an "svn cat" on a repository which specifically sets "anon-access=none" in it's svnserve.conf...

The --root is set to /repos/private/. In this path I did an "svnadmin create /repos/private/myproject/" (making a seperate repository for each project) and added the following lines to svnserve.conf (actually, svnserve.conf is a hardlink to /repos/private.conf, though that shouldn't be a problem since it reads the password-db just fine on a commit):

---
[general]  
anon-access=none 
auth-access=write
password-db=/repos/private.passwd
realm=Private
---
To test it I ran "svn cat svn://myhost:3691/myproject/trunk/myfile" from an external machine running Windows 2000. The directory I ran this command in did not contain any .svn folder, so it doesn't seem like it remembered my login information. I'm quite sure it's just a simple error on my side, but I can't figure out what...
Thanks in advance,
- Mark
Received on Fri Mar 12 10:48:00 2004

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