>> 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 !

Reply via email to