You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Barbara Post <po...@yahoo.com> on 2009/06/04 14:30:17 UTC

Basic config trouble

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 ?

Barbara

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2359452

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re : Basic config trouble

Posted by Barbara Post <po...@yahoo.com>.
Thanks Stefan, I understand my misunderstanding : svnserve.conf defines "maximal" access, while authz alllows to define more restrictive access to groups/users :)

Barbara

 http://bpost.free.fr




________________________________
De : Stefan Sperling <st...@elego.de>


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

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2359606

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: Basic config trouble

Posted by Stefan Sperling <st...@elego.de>.
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

Re: Basic config trouble

Posted by Joeri De Backer <fo...@gmail.com>.
On Thu, Jun 4, 2009 at 4:30 PM, Barbara Post <po...@yahoo.com> wrote:

>
> Thanks for help trapping the mistake. Maybe "auth-access = read" is wrong ?
>
>
That should be "write"...

Regards,

Joeri

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2359461

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].