[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: Andy Levy <andy.levy_at_gmail.com>
Date: Wed, 9 Jan 2008 07:15:08 -0500

On Jan 9, 2008 2:19 AM, Ali Soleimani <alisol911_at_gmail.com> wrote:
>
>
>
>
> 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.

Subversion does not provide for access restrictions on a per-file
basis. Only directories.

---------------------------------------------------------------------
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-09 13:15:28 CET

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