[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 17:56:49 CEST

oh man...that would be disastrous from the builds point of view ....when
we release a product i will have to branch each dir individually!

there must be a way in svn to do this right.......there's got to be.

Andreas Kostyrka wrote:

>Well, you would need to relayout your repository:
>
>/gui/trunk
> branches
> tags
>
>/solver/trunk
> branches
> tags
>
>Andreas
>
>
>On Wed, Jul 13, 2005 at 08:24:23AM -0400, Amol Karnik wrote:
>
>
>>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
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>>
>
>
>

-- 
-----------------------------------------------
Amol Karnik
Manager, Product Development
Coventor, Inc.
625 Mount Auburn Street
Cambridge MA, 02138
Work : (617) 497-6880 x248
Cell : (617) 304-4199
Fax  : (617) 497-6882
Email: amol@coventor.com
Web  : http://www.coventor.com
-----------------------------------------------
Received on Wed Jul 13 18:01:09 2005

This is an archived mail posted to the Subversion Users mailing list.