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

Strange behaviour of svnserve authz

From: Mathias Weinert <mathias.weinert_at_gfa-net.de>
Date: 2006-01-02 11:19:45 CET

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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jan 2 11:21:41 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.