You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Brent Webster <br...@liquidcomputing.com> on 2005/09/15 17:23:49 UTC

Limit access in one subdirectory?

What's the best way, if any, to limit write and possibly read access to
a particular subdirectory in subversion.

1.	Can different UNIX groups be used?  Or do all files take on the
group ID of the db directory.
2.	Use various hook scripts to limit checkout.  Note: If I checkout
at an upper level parent then how can I limit the checkout of that
particular sub-directory?
3.	Or simply create a separate FSFS repository?

Thanks, Brent
brentwebster_at_liquidcomputing_com

Re: Limit access in one subdirectory?

Posted by Hari Kodungallur <hk...@gmail.com>.
On 9/15/05, Brent Webster <br...@liquidcomputing.com> wrote:
>  
> What's the best way, if any, to limit write and possibly read access to a
> particular subdirectory in subversion. 
>  
> Can different UNIX groups be used?  Or do all files take on the group ID of
> the db directory. 
> Use various hook scripts to limit checkout.  Note: If I checkout at an upper
> level parent then how can I limit the checkout of that particular
> sub-directory? 
> Or simply create a separate FSFS repository? 
>

You can do this if you are using http (apache) access method. (IIRC,
there was a Google summer of code project going on to do the same for
svn:// access).
The access control for http:// is described in
http://svnbook.red-bean.com/en/1.1/svn-book.html#svn-ch-6-sect-4.4

But I do not think you can give permission to read/write a parent
directory and take away the permission for a subdirectory.

Also, there is no hook script for checkout.

-- 
rgds,
-Hari
SpikeSource Inc.

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