Re: [Bug Report] mod_perl runs with GID 0 !

Ben RUBSON <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
>> Let's run the following example script in mod_perl :
>> 
>> # more test.pl
>> open(my $fh, ">", "/tmp/test.log");
>> print $fh "Your UID is " . $< . "\n";
>> my @groups = split '\s', $(;
>> print $fh "You belong to these groups: ";
>> print $fh $_ . " " foreach(@groups);
> 
> How did you run the script?
> I don't see the relevant section or directive from your
> httpd.conf.

And what is a little bit frightening here is that Apache is launched by the #1025 user itself.
So how could it be possible for it to generate a file owned by group #0...
Very strange !
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.