cgit and setuid

Lukas Fleischer cgit at
Sun Sep 25 23:22:00 CEST 2011

On Sun, Sep 25, 2011 at 10:48:39PM +0200, Julius Plenz wrote:
> Hi!
> Today I tried to make the cgit binary run as system user "git",
> although it is regularly spawned by the webserver. I wrote a small
> wrapper to accomplish this. If you're interested, I wrote down how
> I did it:

suEXEC might be the more standard way to accomplish this. Not sure how
it works with lighty, but it's quite simple to setup on Apache. Have a
look here [1].


More information about the CGit mailing list