Fails to mirror and reports "JailBreak" error
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:/
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/
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/
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.