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

Re: Limit access in one subdirectory?

From: Hari Kodungallur <hkodungallur_at_gmail.com>
Date: 2005-09-15 20:08:13 CEST

On 9/15/05, Brent Webster <brent.webster@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
Received on Thu Sep 15 20:10:25 2005

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