You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by subs <su...@consertum.com> on 2007/08/15 17:25:24 UTC

Path-based authorization question

Hi,

I have two repositories created with svnadmin that I access via http/apache.

/var/repos/a
/var/repos/b

I am trying to prevent a user Z from having ANY access to /var/repos/a, but have 
full access to /var/repos/b

I have created a svn_access_file with the content below. I have tried various 
combinations, but I can either get user Z to read /var/repos/a or not to be able 
to access any repository. I suspect I am just missing a subtle tweak. Can 
anybody suggest how I can do this?

Thanks,


svn_access_file:

[groups]
full_users = X, Y
restricted_users = Z

[/]
@full_users = rw
@restricted_users =

[a:/a]
@full_users = rw
@restricted_users =

[b:/b]
@full_users = rw
@restricted_users = rw

-- 
Derek

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Path-based authorization question

Posted by Andy Levy <an...@gmail.com>.
On 8/15/07, subs <su...@consertum.com> wrote:
> Hi,
>
> I have two repositories created with svnadmin that I access via http/apache.
>
> /var/repos/a
> /var/repos/b
>
> I am trying to prevent a user Z from having ANY access to /var/repos/a, but have
> full access to /var/repos/b
>
> I have created a svn_access_file with the content below. I have tried various
> combinations, but I can either get user Z to read /var/repos/a or not to be able
> to access any repository. I suspect I am just missing a subtle tweak. Can
> anybody suggest how I can do this?
>
> Thanks,
>
>
> svn_access_file:
>
> [groups]
> full_users = X, Y
> restricted_users = Z
>
> [/]
> @full_users = rw
> @restricted_users =
>
> [a:/a]
> @full_users = rw
> @restricted_users =
>
> [b:/b]
> @full_users = rw
> @restricted_users = rw

The last 2 should be [a:/] and [b:/]

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org