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

RE: Path based authorization not working

From: Kenneth McKnight <kmcknight_at_vitria.com>
Date: Tue, 4 Mar 2008 09:13:36 -0800

I've seen this before a long time ago in svn 1.1.3, but after our
upgrade to 1.4.4 it went away. It turned out for our case that all users
have to be granted at least read (e.g. 'r') permission from the root,
otherwise the PROPFIND fails (we hacked the 1.1.3 code to allow anyone
to execute PROPFIND from root, even with no permissions).

 

Try giving user 'test' read-only permission on the root and see if that
works:

[/]
Test = r
Joost = rw
[SVNRepository:/Banana/]
Test = rw

ken :-)

________________________________

From: Joost van Dongen [mailto:tsgoo_at_hotmail.com]
Sent: Tuesday, March 04, 2008 6:49 AM
To: users_at_subversion.tigris.org
Subject: Path based authorization not working

 

Hello all,
 
I am trying to get path based authorization to work, but so far with
little success. For a test case I have made two users, of which one
should get access to everything and the other should get access to the
"Banana" folder only. If I use the code below, though, the result is
that user Joost has access to everything, while user Test cannot access
anything at all. This is the error I get when trying to checkout with
Test:
 
"Error PROPFIND request failed on '/svn/SVNRespository
Error PROPFIND of '/svn/SVNRepository': 403 Forbidden
(http://xxx.xxx.xxx.xxx)"
 
This is the authorization file I use:
 
[/]
Test =
Joost = rw
[SVNRepository:/Banana/]
Test = rw
 
This is the folder as it should be after checking out on d:/svn:
"d:/svn/Banana". And this is the repository on the server:
"d:/SVNRepositories/SVNRepository".
 
If I give Test rw access to [SVNRepository:/], then he can check out
everything, including the Banana folder.
 
What am I doing wrong here?
 
Thanks in advance,
Joost
 
 

________________________________

Express yourself instantly with MSN Messenger! MSN Messenger
<http://clk.atdmt.com/AVE/go/onm00200471ave/direct/01/>
Received on 2008-03-04 18:14:10 CET

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.