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

tweaking permissions

From: Crotchett, Darren <dcrotchett_at_mdot.state.ms.us>
Date: 2006-12-18 21:13:02 CET

I have a couple of questions that I have not been able to figure out
from my own reading. I am using Subversion 1.3.2 and Apache2 on
Ubuntu/Edgy. The first question is really just confirmation of what I
have observed from testing:
 
It appears to me that the members of the group defined in the authz file
are not unix users. Rather, they are the identified by the username who
athenticates via .htaccess. Is this correct?
 
Second question: I have set up 4 or 5 repositories. I am using
.htaccess and authz to manange permissions. I would like for all of the
repositories to be listed. But, I want to restrict permissions on them.
I've managed to get both, just not at the same time. Before I added the
authz file, I could browse the ParentPath and see all of the
repositories. After adding the authz, I gained finer grained control
like I was looking for, but I lost the ability to browse the ParentPath
of the repositories.
 
Here is what the relative part of my apache.conf file looks like (which
is nearly verbatim from the book):

<Location /repos>
        DAV svn
        SVNListParentPath on
        SVNParentPath /usr/local/svn-repositories/
 
        # Subversions access control policy
        AuthzSVNAccessFile /usr/local/subversion_authz
 
        # anonymous access tried first
        Satisfy Any
        Require valid-user
 
        # authentication
        AuthType Basic
        AuthName "Subverion Repository"
        AuthUserFile /usr/local/apacheUsers
</Location>

 
Here is what my authz file looks like:
 
[groups]
private = ME
# give everyone read access to the root dir of each repository
[/]
* = r
# deny everyone to this directory
[repos1:/trunk/newdad]
* =
@private = r
# deny everyone, then allow members of the private group
[repos2:/]
* =
@private = rw

 
TIA,
Darren
CONFIDENTIALITY NOTICE This e-mail and any files or attachments may contain confidential and privileged information.
If you have received this message in error, please notify the sender at the above e-mail address and delete it and
all copies from your system.
Received on Mon Dec 18 21:12:50 2006

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.