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

Re: Subversion access control

From: Thorsten Schöning <tschoening_at_am-soft.de>
Date: Tue, 19 Jul 2011 13:08:11 +0200

Guten Tag Andy Canfield,
am Dienstag, 19. Juli 2011 um 12:50 schrieben Sie:

> [1] Why does it ask for the password for "andy", then ask for a user
> name and password?

The svn client first tried the last used user or your current username
on underlying OS.

> [2] What is an authentication realm?

It's some some string to show you to which repository you want to
authorize. It can be configured in the repository configuration using
the "realm" key. This way you wouldn't get GUIDs liek above, but for
example "Repo XY".

realm = Repo XY

> [3] Why does it talk about STORING my password, when as far as I know
> all subversion does is check your password against the contents of the
> passwd file.

The svn client ca store your password for convenience.

> [4] Why doesauthentication fail?

The passwd file could not be read or you provided the wrong password.

> [5] Why does authentication fail immediately afer the first time?

Same like [4].

> [6] I now have an entire directory tree named ".subversion" in my home
> directory. I have no idea what any of this stuff is or is supposed to
> be. Is this what is blocking me from my repository?

Unlikely, in this directory the client stores auth credentials etc.

> [7] The repository was created by svnadmin create ... which has to be
> executed as root. Does this mean that only root can access this
> repository from now on? That doesn't make sense.

If you mean access in the svn-way, than now, everyone in passwd can
access the repository. If you mean access in terms of file systems,
than it depends on the permissions who can make what.

Mit freundlichen Grüßen,

Thorsten Schöning

Thorsten Schöning
AM-SoFT IT-Systeme - Hameln | Potsdam | Leipzig
Telefon: Potsdam: 0331-743881-0
E-Mail:  tschoening_at_am-soft.de
Web:     http://www.am-soft.de
AM-SoFT GmbH IT-Systeme, Konsumhof 1-5, 14482 Potsdam
Amtsgericht Potsdam HRB 21278 P, Geschäftsführer: Andreas Muchow
Received on 2011-07-19 13:08:50 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.