You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Jason Winters <jw...@yahoo.com> on 2004/03/11 19:10:53 UTC

AuthzSVNAccessFile - can't specify repository

I'm using Apache 2.0 to expose my Subversion server. 
I'm using the SVNParentPath option to allow creation
of new repositories without restarting httpd.  My
httpd.conf contains the following:
<Location /svn>
    DAV svn
    SVNParentPath /svn
    AuthzSVNAccessFile /opt/svn-access
    Require valid-user
    AuthType Basic
    AuthName "Subversion repository"
    AuthUserFile /opt/svn-auth-file
</Location>

I am unable to secure directories within a specific
repository in my permissions policy file.  I'm trying
to use the [repos-name:path] syntax as described in
the manual.  Using the [path] syntax does work but
causes problems if two repositories both match the
path.  The snippet below works to allow only read
access to the projectA directory:

[/projectA]
jdoe = rw

When I add the repository name (the repository name is
repos) it stops working.

[repos:/projectA]
jwin = rw

Has anyone tried to do this before?  Any ideas as to
why this might not be working?

Thanks,
Jason

__________________________________
Do you Yahoo!?
Yahoo! Search - Find what you�re looking for faster
http://search.yahoo.com

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

Re: AuthzSVNAccessFile - can't specify repository

Posted by Raymond <su...@bigriverinfotech.com>.
My mistake.

Raymond


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

Re: AuthzSVNAccessFile - can't specify repository

Posted by David Summers <da...@summersoft.fay.ar.us>.
On Thu, 11 Mar 2004, Raymond wrote:

> > In SVN 1.0.1 (which will be released tomorrow), mod_authz_svn will
> > understand SVNParentPath.
> 
> Excellent.
> 
> Hopfully,  David Summers will expeditiously update his excellent RPMs to 
> reflect this as many of us Fedora hacks have this *thing* about RPMs and will 
> only begrudgingly utilize traditional archive distributions as an absolute 
> last resort.
> 
> Lastly, how 'bout putting up the source RPMs too ?
> 

What do I need to do to update the RPMS to reflect "this"?

The Source RPMs have always been available in a sibling directory at
http://summersoft.fay.ar.us/pub/subversion/1.0.0/(distrition)/src 
directory.

Or just go to the bin directory and go to ../src directory.

-- 
David Wayne Summers          "Linux: Because reboots are for hardware upgrades!"
david@summersoft.fay.ar.us   PGP Key: http://summersoft.fay.ar.us/~david/pgp.txt
PGP Key fingerprint =  C0 E0 4F 50 DD A9 B6 2B  60 A1 31 7E D2 28 6D A8 


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

Re: AuthzSVNAccessFile - can't specify repository

Posted by Raymond <su...@bigriverinfotech.com>.
> In SVN 1.0.1 (which will be released tomorrow), mod_authz_svn will
> understand SVNParentPath.

Excellent.

Hopfully,  David Summers will expeditiously update his excellent RPMs to 
reflect this as many of us Fedora hacks have this *thing* about RPMs and will 
only begrudgingly utilize traditional archive distributions as an absolute 
last resort.

Lastly, how 'bout putting up the source RPMs too ?

Raymond


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

Re: AuthzSVNAccessFile - can't specify repository

Posted by Ben Collins-Sussman <su...@collab.net>.
On Thu, 2004-03-11 at 13:10, Jason Winters wrote:

> <Location /svn>
>     DAV svn
>     SVNParentPath /svn
>     AuthzSVNAccessFile /opt/svn-access

In SVN 1.0, you can't use SVNParentPath with mod_authz_svn;  only
SVNPath works.

In SVN 1.0.1 (which will be released tomorrow), mod_authz_svn will
understand SVNParentPath.



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