svn: Item is not readable

My svn server had a simple authentication and authorization like below.

svnserve.conf

[general]
anon-access = read
auth-access = write
password-db = passwd
authz-db = authz
realm = My First Repository

authz

[groups]
admin = shylu

[/]
@admin = rw


With this configuration svn log command always failed with a "svn: Item is not readable" error.

Problem is, even though anon-access has read permission in svnserve.conf, authz file must explicitly specify read permission to everyone like below.

new authz

[groups]
admin = shylu

[/]
* = r
@admin = rw

9 comments:

Jean-Philippe said...

Nice it saved me a lot of googleling !

Patrick Griffiths said...

Good catch. Thanks!

Shashi said...

Thanks for the info....kick-started my SVN

Darren said...

Thanks, first hit on google saved me some time

Anonymous said...

Thanks very much for this tip

AndR said...

Thanks!

This problem was appeared in Hudson as well.

Cesar said...

Thanks! It Save me a lot of googleling too!!

cmon said...

cool thx!!

Anonymous said...

So is it possible to user SVN with Cruise Control without giving read access to every single user? I have created an SVN user for Cruise Control, but I don't want to let all users checkout code and view revisions.