monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] Sync, write/read-permissions and port-binding in Wi


From: Markus Schiltknecht
Subject: Re: [Monotone-devel] Sync, write/read-permissions and port-binding in WinXP
Date: Wed, 14 Nov 2007 21:19:19 +0100
User-agent: Mozilla-Thunderbird 2.0.0.6 (X11/20071008)

Hi

address@hidden 28 wrote:
I'm using Monotone v.0.36 and I'm trying to put my db to serve, so my pal can
push in his parts of code.
1.We exchanged our pubkeys and added them to our dbs, then, being on
Windows, I went to my Documents and Settings/User/Application Data/monotone
folder and created the two files:

'write-permissions' containing:
allow "address@hidden"

'read-permissions' containing:
pattern "*"
allow "address@hidden"

First question is: did I do this right? I'm not sure, because I only found
one reference about this, around the mailing list. Official tutorial assumes
we're not working on Windows.

Uh... looks right, thought I'm not a windows user...

2.Being my pal under a very strict school server (all ports closed), I try
to make his data pass through port 8080 (I'm guessing it should be the only
one open, but I might be wrong), doing:
$mtn serve -d mydatabase.mtn --bind=:8080

This way, if I'm right, I'm putting monotone listening to port 8080 on every
host it has available.
Monotone in fact asks for my password, then goes:
mtn: beginning service on <all interfaces> :8080

And my Winxp firewall tells me if I want to allow mtn network access, so I
guess I did something right.
Can anyone confirm I did both the steps right?

Looks right. You could even try port 80, monotone doesn't care. [ Nor do I think such restrictive firewalls are useful. ;-) ]

If so, not knowing what kind of command my pal used, I guess he did
something like this:
mtn push -d hisdatabase.mtn myIPaddress

Looks correct, except that you also need to give mtn a branch if you are not in a working directory.

You are directly connected to the Internet, aren't you? Otherwise you'd have to make sure that the port you are using gets forwarded to your WinXP box.

[ Monotone should tell you the difference between "unable to connect" and "permission denied". ]

That's the things that pop up in my brain, good luck!

Markus




reply via email to

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