Controlling permissions

Benoit Boissinot bboissin at gmail.com
Fri Aug 17 06:12:54 CDT 2007


On 8/17/07, Brad Schick <schickb at gmail.com> wrote:
> I should note that I'm concerned about the files inside the actual
> repository under .hg not the working directory (since the wd isn't used).
>
> Also, that was supposed to say "Short *of* changing". But maybe that's
> the best solution. For example, adding "umask" setting to config files.
>
> I guess I could run a hook after changegroups, that does 'chmod -R
> g-rwx,o-rwx *' on the entire repo.  Seems ugly.
>

You could also try putting a os.umask call in the cgi (if it runs
under the correct account).

regards,

Benoit


More information about the Mercurial mailing list