Project

General

Profile

Actions

Feature #1369

closed

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

Added by Anonymous over 16 years ago. Updated 2 months ago.

Status:
Fixed
Priority:
Normal
Target version:
-

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 15 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 15 years ago

  • Status changed from Fixed to Wontfix
Actions #3

Updated by gstrauss 2 months ago

  • Project changed from Lighttpd to spawn-fcgi
  • Description updated (diff)
  • Category deleted (spawn-fcgi)
  • Status changed from Wontfix to Fixed
  • Target version deleted (1.4.20)

Fixed in #1906 in spawn-fcgi 1.6.1

Actions

Also available in: Atom