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

Re: Path-based auth with svn+ssh

From: Lieven Govaerts <lgo_at_mobsol.be>
Date: 2006-03-20 14:24:21 CET

Quoting Martin Eisenhardt <martin.eisenhardt@wiai.uni-bamberg.de>:

> Hello Lieven,
>
> thanks for the quick reply.
>
> On Monday March 20 2006 13:58, Lieven Govaerts wrote:
> > Martin,
> >
> >
> > I think you're seeing issue 2486 (
> > http://subversion.tigris.org/issues/show_bug.cgi?id=2486 ).
>
> Indeed, this seems to be the problem I encounter.
>
> >
> > A workaround for this issue is to give user joe read-access on the root of
> > the repository.
>
> Doesn't it mean that joe has automatically read-access to all subfolders in
> the repository? This would be less than desirable.
>
Yep, that's exactly what it means. You can disable joe's read-rights on all
subfolders again.

> > I've send a patch to the dev-list for this issue, but it's not accepted
> > (yet). I hope that it's included in svn 1.3.2.
>
> Good work, thanks for that!
>
> On an (un)related note, does it matter what I call my repository in the authz
> file?
>
> Example:
>
> Do the following two lines have the same effect?
>
> [repository:/trunk]
> * = r
>
> [repos:/trunk]
> * = r
>
> I ask because the svnserve.conf that comes with a newly created repository
> has
> the first form in it, and I read the second form in the bug report you
> relayed me to in your last message.
>
> Does the first part (before the colon) matter at all? (Because, my repository
> is not called "repository" or "repos", but "svn" ...)
>

I think ( not 100% sure ) that it only matters if you use the authz file for
multiple repositories. With svnserve, if you have one authz per repository (
ie. if you only have one repository ), you can remove the repository name as
well:

[/]
...
[/trunk]
...

> Thanks again!
>
> Kind regards
> Martin

Lieven.

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Mar 20 14:26:57 2006

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