You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Haim Cohen <ha...@gmail.com> on 2006/12/17 12:20:42 UTC

Using unix groups for different read/write access in a single repository

Hi

I would like to use single repository for several different projects.
I need to give a read/write permissions based on a unix group for each one
of the project and the permissions must also deny reading from other
projects.

What is the way (if exist) to do such thing?
Should I use a different repository for every group?

Thanks!
Haim

Re: Using unix groups for different read/write access in a single repository

Posted by Haim Cohen <ha...@gmail.com>.
Thanks for the answers.

We're accessing the SVN using svn+ssh:// on a general purpose linux machine
without a web server.

I guess we can create a list of users periodically, but can it be based on
the unix authentication of a user (via the ssh) and without using an apache
server?

Thanks!!
Haim


On 12/18/06, Mark <ma...@mitsein.net> wrote:
>
> Part of that depends on what access methods you will be supporting.
> If you are only supporting file://, then just using unix groups is
> fine.  However, that is very unlikely :).
>
> What I would do is to set up a cronjob that runs every so often
> (hourly or less) that will build the authz file for the repository
> based upon unix group memberships.  You could also tie this into your
> unix group add/change/delete process so that any unix group
> modifications are carried over into svn authz.
>
> On 12/17/06, Haim Cohen <ha...@gmail.com> wrote:
> > Hi
> >
> > I would like to use single repository for several different projects.
> > I need to give a read/write permissions based on a unix group for each
> one
> > of the project and the permissions must also deny reading from other
> > projects.
> >
> > What is the way (if exist) to do such thing?
> > Should I use a different repository for every group?
> >
> > Thanks!
> > Haim
>
>
> --
> Mark
> "Blessed is he who finds happiness in his own foolishness, for he will
> always be happy."
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

Re: Using unix groups for different read/write access in a single repository

Posted by Mark <ma...@mitsein.net>.
Part of that depends on what access methods you will be supporting.
If you are only supporting file://, then just using unix groups is
fine.  However, that is very unlikely :).

What I would do is to set up a cronjob that runs every so often
(hourly or less) that will build the authz file for the repository
based upon unix group memberships.  You could also tie this into your
unix group add/change/delete process so that any unix group
modifications are carried over into svn authz.

On 12/17/06, Haim Cohen <ha...@gmail.com> wrote:
> Hi
>
> I would like to use single repository for several different projects.
> I need to give a read/write permissions based on a unix group for each one
> of the project and the permissions must also deny reading from other
> projects.
>
> What is the way (if exist) to do such thing?
> Should I use a different repository for every group?
>
> Thanks!
> Haim


-- 
Mark
"Blessed is he who finds happiness in his own foolishness, for he will
always be happy."

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org