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

Re: What is the fix for bug 2486??

From: Ed snooper <edsnooper_at_yahoo.com>
Date: 2006-08-31 16:58:43 CEST

Garrett,

OK... I think I found the problem:

If you use the workaround (mentioned before) you can see each project in the repository, but it only allows you to read the ones for which you have priv's, as in:

https://subversion.test.com/repo1
 
BUT, if you just grant subdir access (as from the accessControl.conf) then you have to explicity call just the project:

https://subversion.test.com/repo1/proj1
  
================
I installed svn 1.3.2 with apache 2.0.58/9 and mod_dav

I created a repository (repo1)

I added the following the httpd.conf:

<Location /repo1>
DAV svn
SVNPath c:\svn_repository\repo1
AuthzSVNAccessFile \apache\conf\accessControl.conf
Require valid-user
AuthType Basic
AuthName "Subversion repository"
AuthUserFile \apache\conf\passwd
</Location>

I created the accessControl.conf as follows:

[repo1:/proj1]
user1 = rw
user2 = rw

[repo1:/proj2]
 user1 = rw
 user2 = rw
user3=rw
 

Then when I try to access the repository:
https://subversion.test.com/repo1

it gives me a 403 forbidden error, BUT if I grant read on root and revoke all to each subdir, and then grant to each user on each subdir, it works....

I need to do https://subversion.test.com/repo1/proj1

 
Ed

Garrett Rooney <rooneg@electricjellyfish.net> wrote: On 8/31/06, Ed snooper wrote:
> Thank You again Garrett,
>
> I have been pulling my hair out trying to get this to work.....It sure seems
> like the bug still exists.... it sounds like I should be able to do the
> below, but I get "forbidden":
>
>
> [repo1:/proj1]
> user1 =rw
> user2 = rw
> user3 = rw
> user4 =rw
>
> [repo1:/proj2]
>
> user1 =rw
> user2 = rw
> user3 = rw
>
> Ed

What exactly are you doing that gives you a forbidden response? I
just tried it here, and it seems to work...

-garrett

                 
---------------------------------
Stay in the know. Pulse on the new Yahoo.com. Check it out.
Received on Thu Aug 31 18:21:28 2006

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.