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

Re: authz question

From: Dan Crosta <dcrosta_at_gmail.com>
Date: 2006-09-25 23:15:09 CEST

(apologies, mark, for the double mail, i keep expecting gmail to reply-all...)

Maybe I've been confusing the terminology: there is only one
repository, but several... well, CVS called the modules, but I guess
they are actually paths within the repository, is that right? That is,
the repository has:

/tags
/branches
/trunk
 /module
 /othermodule
 /thirdmodule

- d

On 9/25/06, Mark <mark@mitsein.net> wrote:
> Yes, because you are accessing one authz file for many repositories, right?
>
> On 9/25/06, Dan Crosta <dcrosta@gmail.com> wrote:
> > Is this true even if I'm using SVNPath in httpd.conf, not SVNParentPath?
> >
> > - d
> >
> > On 9/25/06, Dan Crosta <dcrosta@gmail.com> wrote:
> > > Is this true even if I'm using SVNPath in httpd.conf, not SVNParentPath?
> > >
> > > - d
> > >
> > > On 9/25/06, Mark <mark@mitsein.net> wrote:
> > > > the authz config for mod_svn_authz is slightly different than for
> > > > svnserve. You need to specify the name of the repository. So if your
> > > > repository name is goodstuff:
> > > > [/]
> > > > dcrosta = rw
> > > >
> > > > [goodstuff:/trunk]
> > > > * =r
> > > >
> > > > etc
> > > >
> > > > On 9/25/06, Dan Crosta <dcrosta@gmail.com> wrote:
> > > > > i have a repository i use to track all my source code, some of which i
> > > > > want to make publicly available, but most of which i want to keep
> > > > > private. i'm using mod_dav_svn and mod_svn_authz for repository access
> > > > > and control, and have followed the pattern at svnbook.red-bean.com for
> > > > > anonymous or authenticated access, with an authz file like this:
> > > > >
> > > > > ----
> > > > >
> > > > > [/]
> > > > > dcrosta = rw
> > > > >
> > > > > [/trunk]
> > > > > * = r
> > > > >
> > > > > [/trunk/module]
> > > > > * = r
> > > > >
> > > > > [/trunk/othermod]
> > > > > * =
> > > > >
> > > > > [/trunk/thirdmod]
> > > > > * =
> > > > >
> > > > > ----
> > > > >
> > > > > which, if i understand correctly, should allow anonymous access to
> > > > > /trunk/module, but not to any other part of the repository, and allow
> > > > > me access to any of the repository. however, this is not working.
> > > > > checkout and export are prompting for a password, but the list command
> > > > > quite happily lists contents of /trunk/module. have i messed something
> > > > > up?
> > > > >
> > > > > alternately, is there an easier way to give access to just a portion
> > > > > of the repository? i tried leaving out the section for [/trunk] and
> > > > > for [/trunk/othermod] and [/trunk/thirdmod] ... that configuration
> > > > > doesn't allow anonymous users to list /trunk (fine by me), it does
> > > > > allow anonymous to list /trunk/module (good), but still won't allow
> > > > > anonymous to check out from anywhere.
> > > > >
> > > > > - d
> > > > >
> > > > > ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> > > > > For additional commands, e-mail: users-help@subversion.tigris.org
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > Mark
> > > > "Blessed is he who finds happiness in his own foolishness, for he will
> > > > always be happy."
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> > > > For additional commands, e-mail: users-help@subversion.tigris.org
> > > >
> > > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> > For additional commands, e-mail: users-help@subversion.tigris.org
> >
> >
>
>
> --
> Mark
> "Blessed is he who finds happiness in his own foolishness, for he will
> always be happy."
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Sep 25 23:15:54 2006

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