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

Re: access right

From: Paulo Sousa Dias <pdias_at_fe.up.pt>
Date: 2004-07-07 16:02:13 CEST

Hello,

    I was waiting for someone to answer because I to have the same doubt.
    What is seams to me is that you are blocking grB and grC access to
everything with the first statement:

[/]
admin = rw
@grA = r

  

    It seams to be the only explanation for what is happening.

regards

Zlatkho wrote:

>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
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jul 7 16:02:34 2004

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.