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

Re: how do i configure access perms to certain dirs, across all branches,tags,trunk etc

From: David Weintraub <qazwart_at_gmail.com>
Date: 2005-07-13 03:34:15 CEST

On 7/11/05, Amol Karnik <amol@coventor.com> wrote:
> hi all,
>
> am trying to convert our repository from cvs to svn. Am using svn1.2 and
> apache2.0 on RedHat Enterprise Linux 3.0
> i've got the acess files and SSL authentication all set as per the svn
> book. I read the part in the book about per directory access control for
> harry and sally. However, there are no examples about how to control
> this for the same dir, in all the branches, tags and trunk.

You can control read access via the .htaccess files in Apache. This is
not the preferred method since these files apply to the entire
subtree. See http://httpd.apache.org/docs/howto/htaccess.html for more
details.

If you don't care about read access, but only want to control write
access, use the Perl script that comes with Subversion in a pre-commit
hook script.

>
>
> for example lets say i i have /src/gui and /src/solvers dirs in my
> repository under all branches, tags and trunk so far( based on cvs2svn
> conversion).
> I have two dev groups : solverdev and guidev.
> I want solverdev to access all dirs, but i dont want guidev to be able
> to read or write to src/solvers at all.
>
> how do i set this up using the apache access control file for svn?
>
> maybe like this:?
> ===========================
> [myrep:/]
> @solverdev = tw
> @guidev =
>
> [myrep:/*/src/gui]
> @guidev = rw
> ===========================
>
> but there doesnt seem to be a way to use a wildcard in dir.....the
> examples explicitly specify the branch name.
>
> thanks for your help!
>
> - amol karnik
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

-- 
--
David Weintraub
qazwart@gmail.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jul 13 03:35:57 2005

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.