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

Re: 403 Forbidden in response to COPY request

From: Anton Prowse <AProwse_at_TravelCLICK.net>
Date: Wed, 17 Mar 2010 09:46:41 -0500

From: Bob Archer <Bob.Archer_at_amsi.com>
Date: 17/03/2010 15:32

>> Several users are configured to use our Subversion system via HTTPS and
>> Basic authentication.
>>
>> Repos URL:
>> https://www.example.com/repos/repos1/trunk
>>
>>
>> Apache config "vhost_ssl.conf":
>>
>> <Location /repos>
>> DAV svn
>> SVNParentPath /var/www/svn
>>
>> AuthzSVNAccessFile /var/www/vhosts/example.com/conf/reposAccessFile
>>
>> AuthType Basic
>> AuthName "Traffic Subversion Repository"
>> AuthUserFile /var/www/vhosts/example.com/conf/svnuserpw
>> require valid-user
>> </Location>
>>
>>
>> reposAccessFile:
>>
>> [specialrepos:/]
>> * = rw
>>
>> [specialrepos:/trunk]
>> user2 =
>>
>> [specialrepos:/branches]
>> user2 =
>>
>> [specialrepos:/tags]
>> user2 =
>>
>> [/trunk/specialfile]
>> user2 =
>>
>> [/]
>> * = rw
>>
>>
>> svnuserpw file:
>> user1:<hash>
>> user2:<hash>
>>
>>
>> When I authenticate as user1 I can execute all commands without problem.
>> However, when I authenticate as user2 I receive the following error when
>> trying to create a branch from the trunk of "repos1":
>>
>>> svn: COPY of branches/test: 403 Forbidden (https://www.example.com)

> I think this is a known issue. You have to give user2 read access to the root path in order for him to be able to create branches. that is the difference between user1 and user2. User1 has rw access to /.

Sorry, I don't follow you; doesn't everyone have access to / due to the
following lines?

[/]
* = rw

Cheers,
Anton Prowse

TRAVELCLICK Privacy Policy

This email message and any accompanying attachments may contain confidential information. If you are not the intended recipient, do not read, use, disseminate, distribute or copy this message or attachments. If you have received this message in error, please notify the sender immediately and delete this message. Any views expressed in this message are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of TravelCLICK. Before opening any attachments, please check them for viruses and defects.

Received on 2010-03-17 15:49:04 CET

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