monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] Net sync with 0.47 server fails...


From: Stephen Leake
Subject: Re: [Monotone-devel] Net sync with 0.47 server fails...
Date: Thu, 06 May 2010 07:03:40 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (windows-nt)

J Decker <address@hidden> writes:

> syncing with 0.47 server results on the client
> mtn.EXE: warning: protocol error while processing peer <hostname>:
> 'received network error: denied
> 'c64200903a4402fff7dcf6343d0290dfbecb5713' write permission for '*'
> excluding '''
>
> doing a quick serch for 'monotone sync 0.47' comes up with
>
> http://osdir.com/ml/debian-bugs-dist/2010-03/msg06590.html
>
> I had to modify my server's monontonerc to return true for
> get_netsync_read_permitted and get_netsync_write_permitted...
> otherwise, even though the key is listed as
>
> if( identity == "address@hidden" ) then return true end
>
> it doesn't allow the user read or write permission.

See http://www.monotone.ca/docs/Hooks.html#Hooks section 6.1.1; it
describes the format of a key_identity, which is now a table.

So your test should be 

if( identity.given_name == "address@hidden" ) then return true end

or maybe identity.name

This changed in 0.45

-- 
-- Stephe




reply via email to

[Prev in Thread] Current Thread [Next in Thread]