Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

svn copy causes "...(403 Forbidden) in reponse to PROPFIND", other actions work

Tags:

svn

Just for a short bit of background, the reason I'm tracking this particular subversion oddity down is because I found it troubleshooting our new Maven setup (specifically the release plugin). release:prepare gives me the same error buried in a stack trace.

Executing this command...
svn copy http://[server]/svn/tran1/myproject/trunk http://[server]/svn/tran1/myproject/tags/testtag

...gives me the following error:
svn: Server sent unexpected return value (403 Forbidden) in response to PROPFIND request for '/svn/tran1'

I thought this might be an authentication issue, but I'm able to do pretty much every other subversion thing I can think of. Checkout, add, commit and update all work from the command line. And here's where it gets really weird... I can create branches using Eclipse's Subclipse plugin. This might not be all that strange if Eclipse isn't actually doing an svn copy.

tran1 also has a sibling subversion repository next to it. The copy command works fine there.

The URL it's trying to get permission for also looks wrong. It's asking about /svn/tran1, when the permissions are set up one level deeper /svn/tran1/myproject/

Any ideas what might be causing my error? Thanks.

like image 816
brian-d Avatar asked Jan 21 '23 17:01

brian-d


1 Answers

I vaguely remember encountering the same problem. I believe the problem turned out to be that you need at least read access to all parent folders up to the root of the repository in order to use the svn copy operation.

like image 79
Wim Coenen Avatar answered May 18 '23 22:05

Wim Coenen