Allow uids/guids in spawn-fcgi's -u/-g options
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.
Also available in: Atom