monotone-devel
[Top][All Lists]
Advanced

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

[Monotone-devel] Questions about setting up syncs and read-write permiss


From: Ken MacDonald
Subject: [Monotone-devel] Questions about setting up syncs and read-write permissions on Windows
Date: Wed, 25 Apr 2007 10:34:56 -0400

Hi,
Trying to set up monotone to be able to do basic syncs on a Windows
(XP) system. I'm trying to follow the tutorial example, but there seem
to be a few gaps from a Windows perspective.

The server (when I do "mtn ... serve") apparently wants to find two
files, "write-permissions" and "read-permissions" in a directory given
by the get_confdir() function. I'm not sure where the default location
for this should be on Windows. When I created the initial DB and keys,
they ended up in "C:\Documents and
Settings\ken.macdonald.CONSENSUSHQ\Application Data\monotone\keys" but
the doc calls for a ".monotone" directory, not a "monotone", so should
I create "C:\Documents and
Settings\ken.macdonald.CONSENSUSHQ\Application
Data\monotone\.monotone\read-permissons", or ????

Also, for starters I'm trying to sync to another DB I've set up on the
same machine; eventually if we can manage to get a Linux install
working, we'll try a sync to that as well. in the meantime, I guess
I'll need to set up read/write-permissions for that DB as well (?) -
so wondering where that set of files should go.

I set up a second DB (sardines) on my machine with user
address@hidden, set up a public key and imported it to my
original DB (kippers_km):

C:\kippers_km>type c:\sardines.pubkey | mtn --db=kippers_km.mtn read
mtn: read 1 packet

Anyway, I made a guess at setting up the r/w persmissions, started a
'serve' going, and attempted a sync using the user name
"address@hidden", and got this error:

C:\kippers_km\main>mtn --db=c:/mtn_jj/sardines/sardines.mtn sync
address@hidden "net.cti.kippers
" -k address@hidden
mtn: connecting to address@hidden
mtn: network error: name resolution failure for
address@hidden: The requested name is valid and
was found in the database, but it does not have the correct associated
data being resolved for. (11004)

So I'm wondering if the permissions files are wrong, not found, or if
this error has to do with something entirely different. Any clues
regarding windows setup/permissions appreciated!
Ken




reply via email to

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