Greetings, Gabriel Ricardo!

> I cannot figure out how to restrict permissions on a sub-directory.
> What I want is to have anonymous read/write access to everything
> except a sub-directory, where only two users have read/write and
> everyone else has no access (read or write).  I've done a lot of
> reading of the manual and googling the users list but can't find
> anything that solves my problem.
> Much appreciated if someone can point out my mistake.

> I'm using Redhat 5.2, which comes with subversion 1.4.2 (r22196). and
> apache 2.2.3

> I have one repository at /usr/local/vn7/repos
> The relevant parts of my httpd.conf looks like this
> # SVN setup
> <Location /svn>
>     DAV svn
>     SVNPath /usr/local/vn7/repos
>     # our access control policy
>     AuthzSVNAccessFile /usr/local/vn7/etc/svn_auth_paths
>     # try anonymous access first, resort to real
>     # authentication if necessary.
>     Satisfy Any
>     Require valid-user

>     # how to authenticate a user
>     AuthType Basic
>     AuthName "Subversion repository"
>     AuthUserFile /usr/local/vn7/etc/svn_auth_users

> </Location>

> My AuthUserFile looks like this:
> [/]
> * = rw

> [/Delta/trunk/qsrc/strategies]
> mchen = rw
> gricardo = rw
> * =

Try
[/Delta/trunk/qsrc/strategies]
* =
mchen = rw
gricardo = rw

or make a group and tell this directory to
[/Delta/trunk/qsrc/strategies]
~...@group =
@group = rw


--
WBR,
 Andrey Repin (anrdae...@freemail.ru) 17.12.2009, <4:14>

Sorry for my terrible english...

Reply via email to