On Thu, Jun 04, 2009 at 07:30:17AM -0700, Barbara Post wrote:
> Hello,
>
> Sorry for such a newbie question, but I'm having troubles doing a commit (authorization failed) with the following configuration using svnserve, while update works (I'm asked to enter a user/pass for both actions).
>
> - svnserve.conf :
>
> anon-access = none
> auth-access = read
> password-db = passwd
> authz-db = authz
> realm = depottest
>
> - authz (one group, one user, rw for this user, nothing for the rest of the world) :
>
> [groups]
> depottest=test
>
> [depottest:/]
> *=
> @depottest=rw
>
> - passwd :
>
> [users]
> test = testtest
>
> Thanks for help trapping the mistake. Maybe "auth-access = read" is wrong ?
Yes, looks like that's it. You want "auth-access = write".
If you look into the svnbook, you can find the (not very intuitive)
definition of the auth-access configuration variable:
http://svnbook.red-bean.com/en/1.5/svn.serverconfig.svnserve.html#svn.serverconfig.svnserve.auth.general
"Setting the value to none prohibits both reading and writing; read
allows read-only access to the repository, and write allows complete
read/write access to the repository"
Stefan
Received on 2009-06-04 17:04:18 CEST