To ask in a slightly different way: should this behaviour be considered
a bug?
Jason Rhinelander wrote:
Oops, I forgot the URL's:
http://jagerman.com/env.cgi
http://jagerman.com/perl/env.cgi
Jason Rhinelander wrote:
Hi,
I'm seeing some odd behaviour under mod_perl (specifically,
ModPerl::Registry - though the problem may be broader than that) with
regards to the effective group ID ($)).
I have a couple URL's below - an identical script, one served under
CGI, one served under ModPerl::Registry. If you look at the Group ID
values under the CGI one, you see the right value - 155 155 100 50.
However, under mod_perl, I see real as being correct, but the first
value of the effective group ID ($)) seems to be an abritrary number.
I'm not certain where the number comes from, and it doesn't change
when I make changes to the script or restart the server. I also
changed the script to use POSIX::getegid() to see if it was something
to do with $), but it also returns the strange value.
Does anyone have any insight into this?
--
-- Jason Rhinelander