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

RE: [Subclipse-users] Running the server and connecting

From: <alex_at_tmate.org>
Date: 2006-03-16 02:01:08 CET


Take a look at c:\repos\conf\svnserve.conf file. Make sure there the
following lines are uncommented:

### These options control access to the repository for unauthenticated
### and authenticated users. Valid values are "write", "read",
### and "none". The sample settings below are the defaults.
anon-access = none
auth-access = write
### The password-db option controls the location of the password
### database file. Unless you specify a path starting with a /,
### the file's location is relative to the conf directory.
### Uncomment the line below to use the default password file.
password-db = passwd

As long as lines above are commented, your passwd file is not used at all
and default respository access mode (for svn protocol) is read only access
for all users.

And read Subversion Book at http://subversion.tigris.org/ - there are good
examples in this book. It will answer all your questions and save a lot of
your (and others) time.

Alexander Kitaev.

> Hello again. I have the general there also. I have to have something
> there for authz-db. As in the
> [/]
> JD=rw
> I removed that whole part so there was nothing but comments in the field
> and it would not let me connect at all, so this means I need it. My URL
> was kinda wrong. After I sent the e-mail I was troubleshooting till I
> got this response. It did work if I did "svnserve -d -r C:\respos" to
> create and then to connect I did "svn://MyHostName/folder1" that worked,
> but I had imported a folder there entitled "folder1" earlier using the
> command line earlier. And that worked I was able to check out a file and
> edit it.
> Now a new problem occurred happened when trying to commit the
> changes it says:
> "org.tigris.subversion.javahl.ClientException: Authorization failed
> svn:commit failed (details follow): " that's it nothing else.
> So I then tried using what you just said of "svn://MyHostName/" it works
> I see the folder I can check out and everything the same, and I get the
> same error. Could this be related to the authz-db that I put up top? And
> it is not my login/password because I can still check things out and do
> things through the repository, I had it saved. Any ideas?
> I don't see how I didn't follow your instructions. The C:/respos
> will hold a repository, like the main one, and if I want more I could do
> "svnadmin create C:/respos/New" and that would create one there. I know
> the -r means it can send out repositories below whatever I put.
> Thanks for the tip on stopping the server and making a service.
> Thanks again for your help.
> JD
> "Do, or do not. There is no try" -Yoda
> Rochester Institute of Technology
> Majoring in Applied Networking and System Administration.
> http://ambassador.rit.edu/blog/dotes/
> Q. PSSST. What is the best kept secret in American Education?
> A. Hyde School.
> www.hyde.edu
> -----Original Message-----
> From: Mark Phippard [mailto:markp@softlanding.com]
> Sent: Wednesday, March 15, 2006 6:33 PM
> To: users@subclipse.tigris.org
> Subject: RE: [Subclipse-users] Running the server and connecting
>> I put down for svnserve:
>> anon-access = none
>> auth-access = write
> Make sure you also have [general] and also the item for the password
> file.
>> My authz file has this in it:
>> [/]
>> JD=rw
>> *
> I'd disable this feature until you have things working. In
> svnserve.conf,
> do not specify a value for the authz-db.
>> And Finally how do I stop the server that I ran using
>> "svnserve -d -r C:\repos" I do not see it in any services or process,
> Ctrl-C. Ultimately, you want to set this up to run as a Windows
> service.
> Google svnserve windows service and you should get some hits. I think
> that
> TortoiseSVN docs include some links.
> Ultimately, your URL is wrong. Since you did not follow my advice about
> putting the repositories in a common folder, what you need to do is lose
> the -r option on the command line. Then when you access the repository,
> the URL will just be:
> svn://localhost/
> And you will not be able to host a second repository in the future
> without
> reconfiguring the command line and restructuring the on-disk location of
> the repository.
> Mark
> ________________________________________________________________________
> _____
> Scanned for SoftLanding Systems, Inc. and SoftLanding Europe Plc by IBM
> Email Security Management Services powered by MessageLabs.
> ________________________________________________________________________
> _____
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
> For additional commands, e-mail: users-help@subclipse.tigris.org
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
> For additional commands, e-mail: users-help@subclipse.tigris.org

To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Thu Mar 16 02:01:22 2006

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

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