Feature #1141


Allow uids/guids in spawn-fcgi's -u/-g options

Added by hoffie over 13 years ago. Updated almost 12 years ago.

Target version:


It would be nice if spawn-fcgi supported uids/gids for the -u/-g parameters, especially if you do not want to have any real system users for all your web hosting (proftpd supports virtual users, and on the webserver-side: execwrap/suexec support it as well).

spawn-fcgi with this patch will error out if only a uid is given as darix suggested. I'm still not sure whether this is correct as it differs from the behaviour with usernames.
So, either only passing a uid (and no gid/groupname) should be allowed as well (which would probably lead to gid=0(root) which is badtm) or making the check independent of gid, i.e. always require a group if a user is given. I'd be in favor of the latter approach, but it's not my decision.


spawn-fcgi-allow-uids.patch (2.94 KB) spawn-fcgi-allow-uids.patch new patch, old one got broken by [2010] hoffie, 2007-11-29 21:21

Updated by stbuehler almost 12 years ago

  • Project changed from Lighttpd to spawn-fcgi
  • Category deleted (core)
  • Target version deleted (1.5.0)

Updated by stbuehler almost 12 years ago

  • Target version set to 1.6.0

Updated by stbuehler almost 12 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Applied in changeset r13.

Also available in: Atom