Feature #1141

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

Added by hoffie about 11 years ago. Updated over 9 years ago.

Target version:
Start date:
Due date:
% Done:


Estimated time:


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

Associated revisions

Revision 13 (diff)
Added by stbuehler over 9 years ago

Allow numerical user and group ids for -u/-g (fixes #1141)

Revision 691b66da (diff)
Added by Stefan B├╝hler over 9 years ago

Allow numerical user and group ids for -u/-g (fixes #1141)

git-svn-id: svn:// 4a9f3682-ca7b-49a8-9a55-ba4640e46f83



Updated by stbuehler over 9 years ago

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

Updated by stbuehler over 9 years ago

  • Target version set to 1.6.0

Updated by stbuehler over 9 years ago

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

Applied in changeset r13.

Also available in: Atom