[Balug-Talk] Monotone permissions problem

Joe Brenner doom at kzsu.stanford.edu
Sat Aug 4 19:36:12 PDT 2007


Joe Brenner <doom at kzsu.stanford.edu> wrote:

> I'm trying to get a simple monotone setup working over a network.
> I'm seeing a permissions problem: I can get read access, but not
> write access.

And if anyone's interested, the culprit turned out to be some cruft in
my monotonerc file:

>   function get_netsync_read_permitted (collection, identity)
>   if (identity == "doom-t1 at dancer.or.com") then return true end
>     return false
>   end
>
>   function get_netsync_write_permitted (collection, identity)
>     if (identity == "doom-t1 at dancer.or.com") then return true end
>     return false
>   end
>
>   function get_netsync_anonymous_read_permitted (collection)
>     return false
>   end

All of that jazz is apparently left-over from some experiments
of mine with earlier versions of monotone (and probably, using
out-of-date documentation).  Some of it looks redundant with what goes
into the write-permissions and read-permissions files, but they
changed the way those functions work, so that particular
"get_netsync_write_permitted" call has the effect of denying all
write permissions.

So: if you're careful to start from scratch and follow their tutorial,
it's not that hard to get started with monotone... but as far as the
developers are concerned, they're still doing beta releases, and they're
still changing some things around.

I'm not sure I would've gotten involved with using if I'd realized how
early it still is in the development phase (e.g. I just found out
that it still doesn't know how to handle check-ins of symlinks...).



More information about the Balug-Talk mailing list