Setting up a shared repository for users with no shell login
alex mitchell
cnmmai at nus.edu.sg
Fri Feb 1 01:06:13 GMT 2008
Hi John,
Thanks for your help!
I added logging in bzr_access, to print out SSH_ORIGINAL_COMMAND, and the
values of bzrExec, repoRoot, user and directory. Everything looks ok, except
for directory, which always seems to be /. I'm guessing this is the problem,
since this doesn't match the directory that I've given the user permission
for in bzr_access.conf, and which I requested when connecting from the
remote machine.
Any idea why this is happening?
Alex
On 2/1/08 12:56 AM, "John Arbash Meinel" <john at arbash-meinel.com> wrote:
> alex mitchell wrote:
>> Hi,
>>
>> I managed to find the bzr_access script, and have tried it out. I¹ve
>> successfully set up the .ssh/authorized_key file, but I keep getting
>> ³bzr_access::error: Access denied² even when doing a bzr log, which
>> should only require read access, right? And as far as I can tell, the
>> bzr_access.conf file is set up correctly. Has anyone else tried this
>> script? Any pointers as to how to get it to work?
>>
>> thanks,
>> Alex
>
> Is the bzr_access script executable for you?
> Make sure the name on the:
> command=".... username" ssh-key
>
> line matches the one in bzr_access.conf
>
> You could probably add a log file in bzr_access, and have it drop
> debugging information into /tmp or something like that.
>
> John
> =:->
>
More information about the bazaar
mailing list