Re: [Monotone-devel] I'd like a handy checklist for diagnosing privilege problems.

2016-02-22 Thread Hendrik Boom
On Sat, Feb 20, 2016 at 05:37:39PM -0500, Hendrik Boom wrote:
> Once again I'm setting up a mtn data base and am having problems with
> privileges.

Before you waste time investigating this, I've already foud one 
problem, thanks to rereading my own message a few days later in a 
different mindset in a coffeeshop.  It seems to have the wrong uri to 
connect to!

> mtn: connecting to 'mtn://topoi.pooq.com/www'

'www' should hae been 'howto'.

No wonder it blocked me.  It would have been nice if usher had a better 
message, such as that my branch ID didn't match the pattern it had for 
www, but it does look as it that was the problem.

Not sure how the www got into my URI.

Still, a checklist would be convenient.

I'll try to write one someime.

-- hendrik

___
Monotone-devel mailing list
Monotone-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/monotone-devel


[Monotone-devel] I'd like a handy checklist for diagnosing privilege problems.

2016-02-20 Thread Hendrik Boom
Once again I'm setting up a mtn data base and am having problems with
privileges.

Anyone have a handy checklist for diagnosing privilege problems?
All it tells me is that it's refusing a anonymous conection.

hendrik@notlookedfor:~/howto$ mtn sync --key hend...@notlookedfor.topoi.pooq.com
mtn: connecting to 'mtn://topoi.pooq.com/www'
mtn:   include pattern  'com.pooq.hendrik.howto'
mtn:   exclude pattern  ''
mtn: finding items to synchronize:
mtn: warning: protocol error while processing peer mtn://topoi.pooq.com/www: 
'received network error: rejected attempt at anonymous connection for write'
mtn:  bytes in | bytes out | revs in
mtn:78 |   349 |   0
mtn: error: processing failure while talking to peer 
'mtn://topoi.pooq.com/www', disconnecting
hendrik@notlookedfor:~/howto$ 

I did manage to pull from the server, creataing a database.
I checked out from the local database.
I made changes locally and committed them.
Now I try to sync and failing.

Evidently I need write permissions.

Now write permission should have been enabled, because the
.monotone/write-permissions file on the server is

hend...@topoi.pooq.com
hendrik-port...@topoi.pooq.com
hend...@notlookedfor.topoi.pooq.com

I have told the server database to read a packet containing the  public key of 
hend...@notlookedfor.topoi.pooq.com.

Evidently, it recognised me when I cloned the database from the server to the 
client.

So I'm puzzled why it doesn't recognise me when I sync.

-- hendrik


___
Monotone-devel mailing list
Monotone-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/monotone-devel