push problem

Matt Mackall mpm at selenic.com
Mon Aug 8 21:52:24 UTC 2005


On Mon, Aug 08, 2005 at 11:19:52PM +0200, Vadim Lebedev wrote:
> Matt Mackall wrote:
> 
> >On Mon, Aug 08, 2005 at 10:20:13PM +0200, Vadim Lebedev wrote:
> > 
> >
> >>It seems that the only way to have this stuff working correctly is to 
> >>change default login group for
> >>all people who are pushing to the central repo,  which is a PITA....
> >>
> >>Any ideas?
> >>   
> >>
> >
> >All you need to do is add a line like this to /etc/group:
> >
> >sensor:x:10002:noise,velouria,antron,danger,bleep
> >^      ^  ^       ^
> >|      |  |       ` people in the group
> >|      |  ` unique group id
> >|      ` group password, use 'x'
> >` name of the group
> >
> > 
> >
> It doesn't work because when hg tries to access the repo the effective 
> group id is different
> from the group id of the repo....

Eh? You know you can be a member of multiple groups at a time. There's
a "default" group id and a bunch of supplementary ones.

-- 
Mathematics is the supreme nostalgia of our time.



More information about the Mercurial mailing list