Permission denied if repository resides in a subdirectory
Bug #355930 reported by
dknell
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazitis |
New
|
Medium
|
David Caro |
Bug Description
The following error is thrown when repositories are created in subdirectories:
$ bzr branch bzr+ssh:
bzr: ERROR: Server sent an unexpected error: ('error', 'Permission denied: "test": You do not have read access for this repository.')
The bazitis.conf file looks like this:
[bazitis]
[group bazitis-admin]
writable = bazitis-admin
members = admin
[group test]
writable = test/testbranch
members = user1
The path is getting split by os.path.sep on line 66 of bazplugin.py which prevents bazaar from seeing anything beyond the first '/'.
I was able to get it to work by replacing line 66 with this:
b = path.find(
Patch is attached
Changed in bazitis: | |
importance: | Undecided → Medium |
Changed in bazitis: | |
assignee: | nobody → David Caro (dcaro) |
To post a comment you must log in.