Package: libapache2-svn
Version: 1.4.6dfsg1-1
Severity: normal

My /etc/apache2/sites-enabled/default:

  NameVirtualHost *
  <VirtualHost *>
  ...
      <Location /svn>
          DAV svn
          SVNPath /var/svn/repos 
          AuthType Basic
          AuthName "Pent's Subversion Repository"
          AuthUserFile /var/svn/.dav_svn.passwd

          # Enable advanced svn access rights management
          AuthzSVNAccessFile /var/svn/repos/conf/authz

          # Enable anonymous read-only access
          <LimitExcept GET PROPFIND OPTIONS REPORT>
              Require valid-user
          </LimitExcept>
      </Location>
  ...    
  </VirtualHost>

My /var/svn/repos/conf/authz:

  ### This file is an example authorization file for svnserve.
  ### Its format is identical to that of mod_authz_svn authorization
  ### files.
  ### As shown below each section defines authorizations for the path and
  ### (optional) repository specified by the section name.
  ### The authorizations follow. An authorization line can refer to a
  ### single user, to a group of users defined in a special [groups]
  ### section, or to anyone using the '*' wildcard.  Each definition can
  ### grant read ('r') access, read-write ('rw') access, or no access
  ### ('').

  [groups]
  # harry_and_sally = harry,sally
  cmr = pent,vokram,nazy,riviera,neco,gilby,caston

  # [/foo/bar]
  # harry = rw
  # * =

  # [repository:/baz/fuz]
  # @harry_and_sally = rw
  # * = r

  [/]
  * = r
  pent = rw

  [/sandbox]
  * = rw

  [/private]
  * =

  [/private/caston]
  caston = rw

  [/study]
  @cmr = rw

  [/study/practice-2007]
  solaris = rw

I expect /private/caston to be readable by caston and no one
else. However, when I try to checkout /private/caston, I get an error:

  [EMAIL PROTECTED]:~/test$ svn co http://neo/svn/private/caston --username 
caston
  svn: PROPFIND request failed on '/svn/private/caston'
  svn: PROPFIND of '/svn/private/caston': 403 Forbidden (http://neo) 

Even if I change

  [/private]
  * =

  [/private/caston]
  caston = rw

to

  [/private/caston]
  caston = rw
  * =

I still can not checkout the directory due to the same error.
Apparently the problem is with "* =" directive.

I'm ready to provide any additional information.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (1000, 'testing'), (1, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-486
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libapache2-svn depends on:
ii  apache2.2-common            2.2.8-1      Next generation, scalable, extenda
ii  libc6                       2.7-6        GNU C Library: Shared libraries
ii  libsvn1                     1.4.6dfsg1-1 Shared libraries used by Subversio

libapache2-svn recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to