[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: Ali Soleimani <alisol911_at_gmail.com>
Date: Wed, 9 Jan 2008 10:49:22 +0330

On Jan 8, 2008 7:36 PM, Harvey, Edward <Edward.Harvey_at_patni.com> wrote:

> >> 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.
>

hi,
thanks for reply,
what is the solution if I have this structure?
there is two user: sally and harry.
sally has full access to repository and harry
has full access but has not access to untPrivate.pas.

/trunk/untMain.pas
/trunk/untMain.dfm
/trunk/untMain.dcu
/trunk/project.dpr
/trunk/untPrivate.pas
/trunk/untPrivate.dfm
/trunk/untPrivate.dcu

/tags/Pre-release-1.0/untMain.pas
/tags/Pre-release-1.0/untMain.dfm
/tags/Pre-release-1.0/untMain.dcu
/tags/Pre-release-1.0/project.dpr
/tags/Pre-release-1.0/untPrivate.pas
/tags/Pre-release-1.0/untPrivate.dfm
/tags/Pre-release-1.0/untPrivate.dcu

/branches/stable-1.0/untMain.pas
/branches/stable-1.0/untMain.dfm
/branches/stable-1.0/untMain.dcu
/branches/stable-1.0/project.dpr
/branches/stable-1.0/untPrivate.pas
/branches/stable-1.0/untPrivate.dfm
/branches/stable-1.0/untPrivate.dcu

/branches/stable-1.1/untMain.pas
/branches/stable-1.1/untMain.dfm
/branches/stable-1.1/untMain.dcu
/branches/stable-1.1/project.dpr
/branches/stable-1.1/untPrivate.pas
/branches/stable-1.1/untPrivate.dfm
/branches/stable-1.1/untPrivate.dcu
Received on 2008-01-09 08:19:45 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.