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

RE: Problem with SVN & Windows

From: Lieven Govaerts <lgo_at_mobsol.be>
Date: 2006-02-25 13:56:00 CET

Norbert,

I don't really understand what you're trying to do in the authz file,
so let's try to see what's going wrong there.

> -----Original Message-----
> From: Norbert Thek [mailto:norbert@thek.at]
>
> Hello
> I'm using svnserver under Windows
> so far so good

You're using svnserve, so that means you have one authz per repository.
The authz file contains a section per folder in your repository for
which you want to specify the access rights.

> The problem is, that I cannot authenticate my user?
> I think I have an error in my authz file
> *****
> [groups]
> theMasters = user1
> [x:/xxxx/svn_repos/]
> user1 = rw
> [repositroy:/da]
> user1 = rw
> @theMasters = rw
> *****
> Is there some more detailed example or description of the
> authorization file?

The correct syntax would be ( example access rights )

[groups]
theMasters = user1
admins = admin1, admin2

[/] # <- root folder of your repository
* = r
@admins = rw

[/da] # da subfolder in your repository
@theMasters = rw

>
> I also post my svnserve.conf file, probalby my error is here
> ******
> [general]
> anon-access = read
> auth-access = write
> password-db = passwd
> authz-db = authz
> ******

If you want to specify access per folders with the authz file, put this in
your svnserve.conf:

anon-access = none
auth-access = write

You cannot use anonymous access when using authz! You have to give users
read rights on the root of your repository of you want to allow them write
access somewhere deeper in the repository ( bug in svnserve 1.3 )!

Hope this makes thing a litte bit more clear,

Lieven.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Feb 25 14:00:15 2006

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