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

RE: SVN Path Authorization

From: Ramesh Nadupalli <nadupalliramesh_at_gmail.com>
Date: Wed, 1 Dec 2010 23:16:36 -0500

What are the other characters supported in the apache authorization file
(AuthzSVNAccessFile)? Any documentation available?

In case if there are any human errors in the authorization file, its making
repository unavailable. Is there a tool/mechanism to check the access
configurations before restarting the apache?

 

For ex: without having a group, granting access to a directory will break
the repository access.

 

Thanks

Ramesh

From: Engebakken Geir [mailto:geir.engebakken_at_edb.com]
Sent: Tuesday, November 30, 2010 9:19 AM
To: Joseph Isenberg; users_at_subversion.apache.org
Subject: RE: SVN Path Authorization

 

I had the same problem when I set up SVN1.5.x (way back then). Could not
get arounf the fact that users needed R-access to root of repos, so I ended
up with something like the following to prevent users from having R-access
to entire repos.:

 

 

[repo:/]

@admin = rw

*=r

 

 

[repo:/projects/Project1/subProject1]

@project1_subproject1Developers = rw

~project1_subproject1Developers =

 

 

The ~ is a negation, meaning "all users not in the group"

 

 

 

 

Geir

 

Note : All inquiries regarding Subversion, MKS and general Development
servers should be directed to "EDB SourceControl System"

 

From: Joseph Isenberg [mailto:jisenberg_at_gmail.com]
Sent: 27. oktober 2010 16:19
To: users_at_subversion.apache.org
Subject: SVN Path Authorization

 

Can I set up an AuthZSVNAccessFile that doesn't allow read to the root, but
does allow read an read/write to sub-paths. I want something like this:

 

[repo:/]

@admin = rw

 

[repo:/projects/Project1]

@project1_admin = rw

 

[repo:/projects/Project1/subProject1]

@project1_subproject1Developers = rw

 

I would then give the devs the url to the subproject and they could check
that out. I'm pretty sure I've done something like this in the past, but now
it won't let me check out unless I have read access to the parent paths.

 

Thanks for any help.

Joseph Isenberg
Received on 2010-12-02 05:17:20 CET

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.