• Home
  • Contact Us
  • Blog

Alagad – Custom Software Done Right

Menu

  • Blog
  • Site Content
Previous Next

Subversion, MKACTIVITY, and 403 forbidden Headaches

November 12, 2007 · by Doug Hughes

This is just a quick blog entry to hopefully help other people who end up in a similar situation as I did this morning.  Specifically, I’ve been contributing to a new project and when to commit my updates into subversion this morning only to receive this lovely error:

svn: Commit failed (details follow):
svn: Commit failed (details follow):
svn: MKACTIVITY of '/foobar/!svn/act/1f177b34-1601-0010-84ad-c180bd3a7ab5': 403 Forbidden (http://svn.foobar.com)

Now, despite this errors’ clarity and obviousness, it took my team about an hour and half to work out.

A check of the configuration files on our Subversion server confirmed that I was in a group which had read and write access and that others on this project were quite able to commit to the repository.

Also, I was able to commit to other repositories using the exact same permissions.  I mean, literally, the groups and rights defined were the same.

I could checkout from the repository with no problems as well.

The log files were a mess of uselessness too.

A Googling of the problem turned up many cases where users had upgraded from earlier versions of Subversion to the latest, which, in fact, we recently did.  However the repository in question was a new one and had never existed in previous installations.  Nothing else we could find seemed to have any bearing on the problem.

To make sure it wasn’t a bug in Subclipse I went to a different machine and checked out and tried to commit some changes to the same effect.

After quite a while we tried something that seemed to us to be a longshot.  The casing in my svn url was not exactly the same as the repository name on disk.  For example:

My URL: http://svn.foobar.com/foobar

The repository’s name however, was fooBar.

Clearly the repo name is not realy, fooBar.  But, you get the picture.  The case was different.

So, despite the fact that Subversion and Apache were running on windows it was suggested that I try changing the case and try again.  I did, and to my surprise, it worked!

So, next time you have bizarre problems with Subversion, MKACTIVITY, and 403 Forbidden, double check your casing.  Even on Windows.

Advertisements

Please share this:

  • Click to email (Opens in new window)
  • Click to print (Opens in new window)
  • Share on Facebook (Opens in new window)
  • Click to share on LinkedIn (Opens in new window)
  • Click to share on Twitter (Opens in new window)
  • Click to share on Reddit (Opens in new window)

Related

Posted In: Blog
  • Contact Alagad

  • Email: Please use our contact us form or email alagad@alagad.com directly.
    Phone: 651-252-4234

  • Address:
    Alagad Inc.
    16 Dogwood Acres Dr.
    Chapel Hill, NC 27516, USA

  • Create a free website or blog at WordPress.com.
  • Connect with us:
  • Twitter
  • Facebook
  • RSS
loading Cancel
Post was not sent - check your email addresses!
Email check failed, please try again
Sorry, your blog cannot share posts by email.