Re: permissions and identity

Thomas Keller <[email protected]>
Newsgroups gmane.comp.version-control.monotone.devel
Message-ID <[email protected]>
Am 16.05.11 23:35, schrieb Hendrik Boom:
> I'm using usher with monotone.
> Do I have it right?
> 
> User identities (the public keys) are kept in the monotone databases.  
> Presumably every database can have different sets of user identities.  
> 
> But private keys are kept in a .monotone/keys directory, which is the 
> same for all databases.
> 
> So the databases can differ as to public keys, but have to agree on 
> provate keys.
> 
> Finally, the set of branches users can read and write to is kept in 
> files different directry, .monotone/read-permissions and 
> .monotone/write-permissions.  This even though moltiple data bases 
> probably provide completely different branches.
> 
> 
> Is there a rationale for this division of responsibilities, or did it 
> just appear more or less by accident?

I'd say its "by accident". If you configure usher with local servers,
i.e. independently running mtn instances, you should give each instance
its own configuration directory with --confdir.

The "monotone" server entry for our own usher instance for example looks
like this:

server "monotone"
 local "--confdir" "/path/to/monotone" "-d"
"/path/to/monotone/database.mtn" "--ticker=dot" "--timestamps"

And underknees /path/to/monotone the full configuration tree with
private keys, read- / write-permission files, monotonerc and so on is
expanded.

Thomas.

-- 
GPG-Key 0x160D1092 | [email protected] | http://thomaskeller.biz
Please note that according to the EU law on data retention, information
on every electronic information exchange might be retained for a period
of six months or longer: http://www.vorratsdatenspeicherung.de/?lang=en

_______________________________________________
Monotone-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/monotone-devel
signature.asc (application/pgp-signature, 259 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk3RnrQACgkQaf7NlBYNEJKCJwCdHygpcyr9X3GEf3v3WpZslqxg
Ue4AniP2zDvVSJyf6rzMgft7PAXmJzKn
=yxBA
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.