Login | Register
My pages Projects Community openCollabNet

Discussions > users [DISABLED] > Strange behaviour of svnserve authz

subversion
Discussion topic

Back to topic list

Strange behaviour of svnserve authz

Author Mathias Weinert <mathias dot weinert at gfa-net dot de>
Full name Mathias Weinert <mathias dot weinert at gfa-net dot de>
Date 2006-01-02 02:19:45 PST
Message Hi there,

I found the following behaviour of svnserve which I found a bit
strange (meaning: I wouldn't have expected it like this ;-) ).
I am using 1.3.0-rc7 under cygwin.

When my svnserve.conf file contains:
[general]
anon-access = none
auth-access = write
password-db = passwd
#authz-db = authz

everything works fine. I can only commit if I am a known
subversion user.

But then I activated the authz-db option to use the authz file.
This file only contains:
[/trunk]
wallace = rw
grommit = rw

With this I cannot commit files in trunk any more:
$ svn ci -m "test commit"
Sending foo
Transmitting file data .svn: Commit failed (details follow):
svn: Access denied

But if I add the following to the authz file it works:
[/]
wallace = r
grommit = r

I would have expected that setting /trunk to rw would be
enough. Why do I also have to set / to r?

Is this a bug or a feature? If latter is the case it would
be helpful to explain it in the example authz file (and
in mod_authz_svn/INSTALL).

Thanks in advance.

Mathias

« Previous message in topic | 1 of 2 | Next message in topic »

Messages

Show all messages in topic

Strange behaviour of svnserve authz Mathias Weinert <mathias dot weinert at gfa-net dot de> Mathias Weinert <mathias dot weinert at gfa-net dot de> 2006-01-02 02:19:45 PST
     Re: Strange behaviour of svnserve authz klktrk Kristofer 2009-04-10 11:52:54 PDT
Messages per page: