<br><div><span class="gmail_quote">On 9/8/07, <b class="gmail_sendername">Joe Ripley</b> <<a href="mailto:vitaminjoe@gmail.com">vitaminjoe@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 9/7/07, Jack Perveiler <<a href="mailto:perveilerj@gmail.com">perveilerj@gmail.com</a>> wrote:<br>> Interestingly enough, if I do this:<br>><br>> /usr/bin/perl -e "print qq(@INC)" then I get this as my include path:
<br>><br>> /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8<br>> /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8<br>> /usr/local/lib/site_perl /usr/local/lib/perl/5.8.7<br>
> /usr/local/share/perl/5.8.7 .<br>><br>> It's the same as the path in the error message, with one big exception: it<br>> includes the trailing "." directory whereas the error message does not.<br>
><br>> If i modify a given script to add "-I." then things work again.<br>><br>> So...<br>><br>> what's the deal with the perl include path being different? The path is<br>> different whether or not I execute it myself or it's launched with
<br>> QProcess::start(). Is this just a red herring? I confess I don't know much<br>> about how perl ( v5.8.8, in my case) forms it's include path.<br><br>It's possible that your copy of perl is somehow enabling tainting
<br>checks before it runs. Running perl with the '-T' switch enables<br>tainting checks. These checks are usually used for security reasons,<br>and one effect is to remove the current directory from the include<br>
path.<br><br>I'm not much of an expert either. Maybe something at<br><a href="http://perldoc.perl.org/perlsec.html">http://perldoc.perl.org/perlsec.html</a> will help.<br><br>Is mythfrontend or the mythweather plugin set to run with setuid or setgid?
<br><br>--<br>Joe Ripley<br><a href="mailto:vitaminjoe@gmail.com">vitaminjoe@gmail.com</a><br>_______________________________________________<br></blockquote></div><br>Yep, it looks like I had mythfrontend suid root. Removing it makes everything work as expected again.
<br><br>Thanks for that, I'd never heard of tainting checks before. You learn something new every day...<br><br>--Jack<br>