[PATCH] umask for multiple commiters
Thomas Arendsen Hein
thomas at intevation.de
Fri Oct 13 16:51:31 UTC 2006
* 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?
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]?
Thomas
--
Email: thomas at intevation.de
http://intevation.de/~thomas/
More information about the Mercurial-devel
mailing list