<br><div><span class="gmail_quote">On 9/8/07, <b class="gmail_sendername">Joe Ripley</b> &lt;<a href="mailto:vitaminjoe@gmail.com">vitaminjoe@gmail.com</a>&gt; 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 &lt;<a href="mailto:perveilerj@gmail.com">perveilerj@gmail.com</a>&gt; wrote:<br>&gt; Interestingly enough, if I do this:<br>&gt;<br>&gt; /usr/bin/perl -e &quot;print qq(@INC)&quot; then I get this as my include path:
<br>&gt;<br>&gt; /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8<br>&gt; /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8<br>&gt; /usr/local/lib/site_perl /usr/local/lib/perl/5.8.7<br>
&gt; /usr/local/share/perl/5.8.7 .<br>&gt;<br>&gt; It&#39;s the same as the path in the error message, with one big exception: it<br>&gt; includes the trailing &quot;.&quot; directory whereas the error message does not.<br>
&gt;<br>&gt; If i modify a given script to add &quot;-I.&quot; then things work again.<br>&gt;<br>&gt; So...<br>&gt;<br>&gt; what&#39;s the deal with the perl include path being different?&nbsp;&nbsp;The path is<br>&gt; different whether or not I execute it myself or it&#39;s launched with
<br>&gt; QProcess::start().&nbsp;&nbsp;Is this just a red herring?&nbsp;&nbsp;I confess I don&#39;t know much<br>&gt; about how perl ( v5.8.8, in my case) forms it&#39;s include path.<br><br>It&#39;s possible that your copy of perl is somehow enabling tainting
<br>checks before it runs.&nbsp;&nbsp;Running perl with the &#39;-T&#39; switch enables<br>tainting checks.&nbsp;&nbsp;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&#39;m not much of an expert either.&nbsp;&nbsp;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.&nbsp; Removing it makes everything work as expected again.
<br><br>Thanks for that, I&#39;d never heard of tainting checks before.&nbsp; You learn something new every day...<br><br>--Jack<br>