I'd like a handy checklist for diagnosing privilege problems.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

I'd like a handy checklist for diagnosing privilege problems.

Hendrik Boom-2
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 [hidden email]
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

[hidden email]
[hidden email]
[hidden email]

I have told the server database to read a packet containing the  public key of
[hidden email].

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
[hidden email]
https://lists.nongnu.org/mailman/listinfo/monotone-devel
Reply | Threaded
Open this post in threaded view
|

Re: I'd like a handy checklist for diagnosing privilege problems.

Hendrik Boom-2
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
[hidden email]
https://lists.nongnu.org/mailman/listinfo/monotone-devel