web view crashes when viewing repo with mq patches

Martin Geisler mg at lazybytes.net
Wed Aug 19 05:23:27 CDT 2009


timeless <timeless at gmail.com> writes:

> Just a random note about warnings. I have a script which is run in
> response to web visitors, and as a result, I get hundreds of warnings
> in apache's log of this form:
> [Tue Aug 18 20:20:07 2009] [error] [client ...IP...] Not trusting file
> /data/mxr-data/mozilla-central/mozilla-central/.hg/hgrc from untrusted
> user timeless, group www-data
>
> fwiw, the contents of that file are:
> [paths]
> default = http://hg.mozilla.org/mozilla-central

Tell your webserver to trust the timeless user:

  http://www.selenic.com/mercurial/hgrc.5.html#trusted

(or let the webserver own the hgrc file)

-- 
Martin Geisler

VIFF (Virtual Ideal Functionality Framework) brings easy and efficient
SMPC (Secure Multiparty Computation) to Python. See: http://viff.dk/.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial-devel/attachments/20090819/69d5c102/attachment.pgp 


More information about the Mercurial-devel mailing list