httpd privilege drop / supplementary groups

Andreas Mahling andreas.mahling at googlemail.com
Thu Mar 9 14:30:48 UTC 2023


hello,
while working at a setup with httpd serving cgit, I noticed, that privilege
dropping option -u xyz attaches only the primary group of user xyz to the
process but not the supplementary groups.

So httpd works different compared to be started by user xyz.

I wonder whether there is interest for supporting supplementary groups. If
so, I would try to develop a patch for that. The supplementary group
feature could be triggerd by extending the commandline option, e.g with -u
user:+ or -u user:group+. So it would be fully backward compatible.

I'm looking forward to hear from you.

Regards Andreas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20230309/885713d3/attachment.html>


More information about the busybox mailing list