For example, if you execute a cgi-bash-script that just calls /bin/id you get something like uid=1008(httpd) gid=410(httpd) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel),11(floppy),20(dialout),26(tape),27(video) but it should be something like uid=1008(httpd) gid=410(httpd) groups=410(httpd) Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 47805 [details, diff] Use initgroups(user, gid) to reset groups
Patch was included upstream Should this bug be closed?
Yes, thanks.