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

RE: Re: File access control

From: Harvey, Edward <Edward.Harvey_at_patni.com>
Date: Tue, 8 Jan 2008 11:06:50 -0500

>> On Jan 7, 2008 5:22 PM, Harvey, Edward <Edward.Harvey_at_patni.com> wrote:
>> If you're using http, you can add "AuthzSVNAccessFile /path/to/svn-
>> access-file"
>> And then populate /path/to/svn-access-file  with something like this:
>>
>>                 [groups]
>> group1 = user1, user2, user3
>>
>> [repo1:/]
>> * = rw
>>
>> [repo1:/path/to/sensitive/file]
>> @group1 = rw
>> * =
>>
>> If you're not using http, I think you're out of luck.
>
>
> There are trunk,  tags, and branches directory in repository, and in
> tags and branches directory there are branched directories, so the how
> is path access?

Ok, suppose you have this file structure in the repository:
        /
        /trunk/
        /trunk/shared/
        /trunk/shared/hello.c
        /trunk/private/
        /trunk/private/john/
        /trunk/private/john/mysecret.txt

Then you would create permissions like this:
        [myrepository:/]
        *=rw

        [myrepository:/trunk/private]
        *=r

        [myrepository:/trunk/private/john]
        *=
        john=rw

http://www.patni.com
World-Wide Partnerships. World-Class Solutions.
_____________________________________________________________________

This e-mail message may contain proprietary, confidential or legally
privileged information for the sole use of the person or entity to
whom this message was originally addressed. Any review, e-transmission
dissemination or other use of or taking of any action in reliance upon
this information by persons or entities other than the intended
recipient is prohibited. If you have received this e-mail in error
kindly delete this e-mail from your records. If it appears that this
mail has been forwarded to you without proper authority, please notify
us immediately at netadmin_at_patni.com and delete this mail.
_____________________________________________________________________

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-01-08 17:09:58 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.