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

Redux: svn+ssh, authz, insanity.

From: Omri Schwarz <ocschwar_at_MIT.EDU>
Date: 2006-12-19 00:52:10 CET

Hi, all.

After going step by step (i.e. fprintf() happy through the latest subversion
code),
I discovered the solition to my problem. To enable svn+ssh:// authorization
for specific authenticated users, I have to have the following:

in svnserve.conf:
[general]
auth-access = write
authz-db = authz

In authz:
[repo:/]
user1 = rw
user2 = rw
...

The "auth-access = write" will not enable any and all authenticated users to write to the repository if they are not mentioned in the authorization file. But without it, no authenticated users can commit to the repository.

By and large that is not too bad a ruleset to go by, though it woudl be nice to document it as such, (and I am emailing so that the archives will mention the issue), but is this really the way Subversion should do authorization?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Dec 19 00:52:50 2006

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