On Tue, Aug 6, 2013 at 3:54 AM, Andy Bradford <[email protected]>wrote:
> Hello,
>
> As I was trying to setup an environment that used REMOTE_USER, I noticed
> that cloning failed.
> I belive the fix is the following patch (should it be committed to
> pending-review?)
>
> Thoughts?
>
Does this smaller patch fix the problem?
Index: src/login.c
==================================================================
--- src/login.c
+++ src/login.c
@@ -1046,10 +1046,11 @@
** Zeroes out g.perm and calls login_set_capabilities(zCap,flags).
*/
void login_replace_capabilities(const char *zCap, unsigned flags){
memset(&g.perm, 0, sizeof(g.perm));
login_set_capabilities(zCap, flags);
+ login_anon_once = 1;
}
/*
** If the current login lacks any of the capabilities listed in
** the input, then return 0. If all capabilities are present, then
--
D. Richard Hipp
[email protected]
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users