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

View Log Problems When Using Path Based Authentication

From: John Conrad <conrad.john_at_gmail.com>
Date: Tue, 8 Feb 2011 19:18:51 -0600

I have a repository that I have configured to use path based permissions
via svnserve (additional config info below). Any user that has
authenticated has full read/write access to the entire repository while
anonymous users have read only access to a single path in the repository,
all other paths forbidden. These permissions appear to be working
correctly, everyone can update, check out, and commit what is expected.

The PROBLEM occurs when I try to view the log of a path inside the
restricted area accessible only to authenticated users. With authentication
cache cleared, executing an 'svn ls' correctly challenges you for
credentials while 'svn log' produces the "svn: Item is not readable" error
message. This makes it impossible to retrieve a log for these areas of
the repository. These are the specific commands I have used:

        svn ls svn://myserver/restricted <-- works
        svn log svn://myserver/restricted <-- fails

If the authentication cache is populated when I execute 'svn log' I get the
same error. If I manually specify the username and password for the
'svn log' command I get the same error.

My configuration files are listed below and I am running SVN 1.6.12 with
a fsfs database. Anyone have any idea what is going on here? Do I have
something misconfigured? I feel like I may have found a bug. Thanks in
advance.

-- John

svnserve.conf:

        [general]
        password-db = passwd
        authz-db = authz

authz:

        [/]
        $anonymous =
        $authenticated = rw

        [/api]
        $anonymous = r
Received on 2011-02-09 02:19:52 CET

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.