On Fri, Jan 10, 2014 at 10:13:45PM +0000, brian m. carlson wrote:
> Let me provide you with a testcase.  I can't quite get it to hang in the
> same way, but I definitely get the same error message, so hopefully this
> will help.  I'll try to get all the steps right here, but I may have
> forgotten some.  Feel free to substitute bmc for some other user.

That's a very complicated test case. :-) Do you think you could try to narrow
it down a bit?

I installed Apache and mpm-itk, enabled the cgi module, set AssignUserID
to “sesse www-data” (sesse is not normally a member of www-data). Then I
wrote a little shell .cgi script to put in /usr/lib/cgi-bin:

  #! /bin/sh
  echo Content-type: text/plain
  echo
  id

When going to http://127.0.0.1/cgi-bin/test.cgi, it outputs:

  uid=1000(sesse) gid=33(www-data) 
groups=1000(sesse),20(dialout),24(cdrom),25(floppy),29(audio),33(www-data),44(video),46(plugdev),107(powerdev),119(kvm),120(netdev)

So as far as I can see, in the case that doesn't involve git and whatnot,
this works just like it should.

/* Steinar */
-- 
Homepage: http://www.sesse.net/


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to