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

access right

From: Zlatkho <zlatkho_at_SAFe-mail.net>
Date: 2004-07-06 14:49:22 CEST

Hello,

I have a repository that is being accessed through Apache.
I would like fine grained access to the project and directories in that repository.
I build an example :
$ svnlook tree /svn/test
/
 A/
  trunk/
  branches/
  tags/
 B/
  trunk/
  branches/
  tags/
 C/
  trunk/
  branches/
  tags/

Here is the svn access file :
$ cat /svn/svn-access-file
[groups]
grA = harry
grB = sally
grC = harry, sally

[/]
admin = rw
@grA = r

[A:/A]
@grA = rw

[B:/B]
@grA = r
@grB = rw

[C:/C]
* = r

Here is the subversion.conf file:
LoadModule dav_module modules/mod_dav.so
LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so

<Location /svn>
   DAV svn
   SVNParentPath /svn

   AuthzSVNAccessFile /svn/svn-access-file

   AuthType Basic
   AuthName "Subversion Repository"
   AuthUserFile /etc/svn-auth-file

   Satisfy Any
   Require valid-user
</Location>

I try to browse the repository with Opera Browser. Which is quite surprising is that I need authentication to access project C. Another problem is that I can't access project B as sally. I can fully read the repository identified as harry (I know this is correct).
Could you tell me what are my mistakes ?

Greetings.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jul 6 16:24:35 2004

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