hook failed: ACL problem with pushing to server
Matt Mackall
mpm at selenic.com
Sat Aug 18 01:51:24 UTC 2012
On Thu, 2012-08-16 at 13:16 +0200, Thomas Kaspari wrote:
> Hi list,
>
> we are trying to restrict access to our present repositories and read
> the tutorial "http://mercurial.selenic.com/wiki/AclExtension" and some
> other websites. But we still have some trouble with pushing our local
> commits to the running server of hg.
...
> />>> *error: pretxnchangegroup.acl hook failed: acl: user "" not
> allowed on "test.txt"*/
...
> [web]
> allow_push = *
> push_ssl = false
...
> [paths]
> default = http://hg_server:8000/
This all points to you attempting to use 'hg serve' as your web server.
This won't work because 'hg serve' has no authentication support. You
need to use a "real" web server with a full authentication subsystem. If
you actually care about security enough to want ACLs, you really ought
to use SSL too.
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial
mailing list