<div dir="ltr"><div>I'm facing difficulties related to the openRTSP execution. I want to kill and start openRTSP from a Perl script that owns the user www-data. </div><div><br></div><div>The thing is: when I execute openRTSP as root, my video files are created without any problems. When my perl script executes the same command through exec(), but without sudo permissions, I get videos that VLC can't open.</div><div><br></div><div>So my questions are:</div><div><br></div><div>What is keeping openRTSP from working or what path openRTSP uses that my script isn't allowed to access?</div><div><br></div><div>Is it better to just allow my script with sudo permissions?</div><div><br></div><div>PS: with both executions the videos are created, but with those made by the script I get the error that there is no data Flux.</div><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div></div><span><div style="margin-left:0pt"><span><br></span></div><div style="margin-left:0pt"><span><br></span></div><div style="margin-left:0pt"><span>Att.</span></div><div dir="ltr" style="margin-left:0pt"><span><br></span></div><div dir="ltr" style="margin-left:0pt"><span><img src="https://docs.google.com/uc?export=download&id=0ByjftvTpMy9lV3pDdTVYaFhJaFE&revid=0ByjftvTpMy9la3NZd2FiNk13Tml2Y0w5Qm5yLzE4Z2ZQK2dNPQ"><br><div dir="ltr" style="margin-left:0pt"><table style="border:none;border-collapse:collapse"><colgroup><col width="116"><col width="508"></colgroup><tbody></tbody></table></div></span><table style="border:none;border-collapse:collapse"><colgroup><col width="150"><col width="474"></colgroup><tbody></tbody></table></div></span></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div>