Feature #1369
closedbugfix, spawn-fcgi.c do not set *informed* group ownership to unix socket
Description
spawn-fcgi.c do not set informed group ownership to unix socket nor write permission, this is a big problem for daemontools (http://cr.yp.to/daemontools.html) since after 'exec' call, the 'run' script cannot call 'chmod' and 'chown'.
-- alexgirao
Files
Updated by stbuehler over 16 years ago
- Status changed from New to Fixed
- Resolution set to wontfix
You can just drop the priviledges in a wrapper script which does chmod/chown for you; your patch is not a good idea, as gid is the group the process will be running with (user group), not the group you want to be able to access the unix socket (webserver group).
I have a forked version of spawn-fcgi with extra options for this: http://cgit.stbuehler.de/gitosis/spawn-fcgi/about/
It uses glib2, so i cannot commit it upstream :) But imho these tools should be separated from the main sources anyway.
Also available in: Atom