[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

Hello,
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
SVNPath D:/CAGATAY
AuthType Basic
AuthName "Subversion repositories"
AuthUserFile passwd
AuthzSVNAccessFile svnaccessfile
Require valid-user
</Location>
--------------------------------

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

----------------------------------
[groups]
project_manager = john.fisher
developer = cagatay.catal
[/]
@project_manager = rw
[/MYPROJECT/CODE]
@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

http://tortoisesvn.tigris.org/docs/TortoiseSVN_en/ch03.html

>>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:

[groups]
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
[/project/trunk/doc]
@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.