[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: Amol Karnik <amol_at_coventor.com>
Date: 2005-07-13 14:24:23 CEST

hi David,

thanks for your reply. unfortunately this wont help because i want to
restrict read and write access to an entire directory in the repository
(be in the branches or trunk or tags) to a certain users or groups of
users. Looks like svn cant really do this, unfortunately.

- amol

David Weintraub wrote:

>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
>>
>>
>>
>>
>
>
>
>
Received on Wed Jul 13 14:26:18 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.