Project

General

Profile

Actions

Feature #1369

closed

bugfix, spawn-fcgi.c do not set *informed* group ownership to unix socket

Added by Anonymous over 15 years ago. Updated over 14 years ago.

Status:
Wontfix
Priority:
Normal
Category:
spawn-fcgi
Target version:
ASK QUESTIONS IN Forums:

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

spawn-fcgi-unixsocket-chown32.patch (1.86 KB) spawn-fcgi-unixsocket-chown32.patch -- alexgirao Anonymous, 2007-09-20 19:12
Actions #1

Updated by stbuehler over 14 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.

Actions #2

Updated by stbuehler over 14 years ago

  • Status changed from Fixed to Wontfix
Actions

Also available in: Atom