Fails to mirror and reports "JailBreak" error

Bug #1073684 reported by Christopher
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar automirror plugin
New
Undecided
Unassigned

Bug Description

In trying to get the automirror plugin working, but I am encountering this error:
bzr: ERROR: Server sent an unexpected error: ('error', 'JailBreak', "An attempt to access a url outside the server jail was made: 'file:///var/www/site/'.")

Whenever I try to commit changes.
Here is the configuration:

The directory that I am trying to make mirror the branch I am working on is:
/var/www/site
Which has these permissions:
Owner: root
Group: bzr
Permissions: drwxrwxr-x

The branch that I am committing my changes to is located at:
/var/www/bzr/website/trunk

Both the "trunk" branch and the "website" repository have these permissions:
Owner: root
Group: bzr
Permissions: drwsrws---

The bzr info command returns:
Shared repository (format: 2a)
Location:
  shared repository: .

When run in the "website" directory.

The same command returns:
Repository branch (format: 2a)
Location:
  shared repository: /var/www/bzr/website
  repository branch: .

When run in the "trunk" directory.

I have added "post_commit_mirror = /var/www/site" to the branch.conf file of the "trunk" branch.

I am committing changes to the "trunk" branch using bzr+ssh:// and the user account I am working with is a member of the bzr group.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.