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

problem on accessing each folder inside a repository

From: Cagatay Catal <cagatay.catal_at_bte.mam.gov.tr>
Date: 2005-06-10 09:46:32 CEST

I try to give access each folder inside my repository according to the
positions of people in project but I have a problem. With my configuration,
Only project manager can access the repository, developer can not.

My repository is in "D:/CAGATAY" and last lines of "httpd.conf" is given
below. I have a directory in "CAGATAY" repository which is called
"MYPROJECT". There are some directories in "MYPROJECT" such as "CODE" and
"TEST". Directory content is given below:

CAGATAY <----------- This is my repository
        MYPROJECT <-----My project directory
                CODE <----- Project subdirectories
                TEST <----- Project subdirectories

<Location /svn>
DAV svn
AuthType Basic
AuthName "Subversion repositories"
AuthUserFile passwd
AuthzSVNAccessFile svnaccessfile
Require valid-user

I created a svnaccessfile in " C:\Program Files\Apache Group\Apache2"
directory as "passwd" file and its content is given below:

project_manager = john.fisher
developer = cagatay.catal
@project_manager = rw
@developer = rw


With this configuration, only project manager can access the repository.
But, cagatay.catal can not access to repository.
Is there any something wrong with this configuration?

What do you advice me?
Thanks alot.
Best regards,
Cagatay Catal


>>Using a passwd file limits and grants access to all of your repositories
>>as a unit. If you want more control over which users have access each
>>folder inside a repository you can uncomment the line

#AuthzSVNAccessFile svnaccessfile
>>and create a Subversion access file. Apache will make sure that only valid
>>users are able to access your /svn location, and will then pass the
>>username to Subversion's AuthzSVNAccessFile module so that it can enforce
>>more granular access based upon rules listed in the Subversion access
>>file. An example file would look like this:

developers = user1,user2,user3,user4
docs = user5,user6,user7
#to allow everyone read access
* = r
#allow all developers complete access
@developers = rw
#give the doc people write access to the docs folder
@docs = rw

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jun 10 09:52:05 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.