[PATCH] umask for multiple commiters
Aurelien Jacobs
aurel at gnuage.org
Sun Oct 15 15:28:56 UTC 2006
On Fri, 13 Oct 2006 18:51:31 +0200
Thomas Arendsen Hein <thomas at intevation.de> wrote:
> * Aurelien Jacobs <aurel at gnuage.org> [20061013 01:11]:
> > Some times ago, there was a disscussion about setting umask in mercurial:
> > http://thread.gmane.org/gmane.comp.version-control.mercurial.devel/4532
> > There was no conclusion to this thread :-(
> >
> > Now I'm setting up a repo with multiple commiters using SGID, so I need
> > umask to be set to 002 so that new files are created group writable.
> >
> > Attached is an updated version of the patch sent in the original thread.
> > I think it's the best and simplest solution.
>
> Shouldn't the umask setting apply to all things written by hg then,
> not only hg serve --stdio?
I personnaly only need it for server mode, but indeed, it could be
useful more globally.
> In this case putting it in the [web] or [server] section isn't good.
> Maybe we need something like the [ui] section for all non-ui-related
> stuff, as currently the number of sections with only one setting
> isn't nice. Maybe [settings] or [general]?
Agree. Attached is a new patch which use [general] and set the umask
globally.
Aurel
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: umask.diff
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-devel/attachments/20061015/7aa63df6/attachment.diff>
More information about the Mercurial-devel
mailing list