perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Rhinelander <jager...@jagerman.com>
Subject Re: Wrong effective gid
Date Fri, 09 Sep 2005 22:50:20 GMT
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

Mime
View raw message