Mercurial push, abort: authorization failed.
Piotr Byzia
piotr.byzia at gmail.com
Fri Jun 5 12:05:05 CDT 2009
OMG, thanks Pat!
This was so obvious, that I haven't make sure it's right. chown to www-
data solved my problem immediately :-)
What a pity that mistakes like that are not more verbose.
Thank you Isaac and Ted for other suggestions.
Best,
Piotr Byzia
On 5 Jun 2009, at 16:41, Pat Downey wrote:
> You might also want to check that the repositories in question are
> writable by the user running apache.
>
> 2009/6/5 Ted Pavlic <ted at tedpavlic.com>
> > I'm having problems with pushing to mercurial repository:
> > abort: authorization failed
>
> IIRC, in the past, "hg push" sometimes has problems when the web
> server
> can't find all of its error documents. In particular, when it looks
> for
> the error document for a 401 error, it generates an additional 404
> error, and that confuses hg push.
>
> Make sure all of your ErrorDocuments exist. For example, you might
> put...
>
> ErrorDocument 401 401.html
> ErrorDocument 403 403.html
> ErrorDocument 404 404.html
>
> in your .htaccess and then populate those files with appropriate
> content
> (one method for doing that is copying a "view source" of the standard
> message displayed when one of them gets issued). For testing, just
> creating them should suffice.
>
> --Ted
>
> --
> Ted Pavlic <ted at tedpavlic.com>
>
> Please visit my 2009 d'Feet ALS walk page:
> http://web.alsa.org/goto/tedp
> My family appreciates your support in the fight to defeat ALS.
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://selenic.com/pipermail/mercurial/attachments/20090605/8d886a73/attachment.htm
More information about the Mercurial
mailing list