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

Re: restricting access with mod_authz_svn

From: Jason Diamond <jason_at_injektilo.org>
Date: 2004-05-28 17:17:59 CEST

Keven Ring wrote:

> When you created your repository, did you do the following:
> svnadmin create /svn
>
> and then import your myrepo module,
>
> or did you do the following:
>
> svnadmin create /svn/myrepo
>
> and then import your files?
>
> My guess is that you did the first step. In that case, you shouldn't
> be using the SVNParentPath declaration, but the SVNPath declaration.
> Then in your acl file, replace [myrepo:/], with [/myrepo]
>
> Another way to check (if you don't remember what commands you ran to
> create the repository) is to do a listing on the /svn directory. If
> you see the directories 'conf', 'dav', 'db', 'hooks', and 'locks',
> then you did the first command, use the fix above. If you see a
> directory called 'myrepo', then you did the second command, and it
> should work...

I did the second command. I create each repository individually like
"svnadmin create /svn/foo". So I've been using SVNParentPath for a while
and that's been working OK.

It seems to me that the name of the repository is not being recognized.
I can put * = rw in [/] and it all works but if I comment that out and
put * = rw in [myrepo:/], I can no longer access that repository. How
could this be?

Thanks for your help.

-- Jason

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri May 28 17:18:29 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.