<div dir="ltr">What happens if you login as mythtv and run the command from that user shell?<br><br><div class="gmail_quote">On Mon, Aug 11, 2008 at 12:28 PM, Brad DerManouelian <span dir="ltr">&lt;<a href="mailto:myth@dermanouelian.com">myth@dermanouelian.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I just moved over to Mythbuntu and I&#39;ve figured out everything except<br>
this one last problem.<br>
<br>
I change channels with serial connections to my 2 DirecTV boxes. 1 on<br>
the serial port (works great) and 1 on the USB port (works great from<br>
the command line, permission issues when issued from the backend).<br>
<br>
Here&#39;s the command I use on the one that doesn&#39;t work:<br>
/usr/local/bin/d11channel.pl box_type D11 port ttyUSB0<br>
<br>
Here are my permissions:<br>
bderman@mythtv:/dev$ ls -l | grep USB<br>
crw-rw---- &nbsp;1 root &nbsp; dialout 188, &nbsp; 0 2008-08-11 10:19 ttyUSB0<br>
<br>
Here&#39;s what I get in the backend log:<br>
Could not open ttyUSB0: Permission denied<br>
<br>
mythbackend is running as the mythtv user<br>
I can log in as my user (bderman) and issue:<br>
/usr/local/bin/d11channel.pl box_type D11 port ttyUSB0 11<br>
<br>
and it will change to channel 11.<br>
<br>
Also, if I chown mythtv.mythtv /dev/ttyUSB0 I get the same error from<br>
the backend, but working correctly from my user from the command line.<br>
Same thing if I chmod 777 /dev/ttyUSB0. In all cases it works ok from<br>
the command line and I get a permission error in the backend.<br>
<br>
Also note this was all working ok in Fedora 8. Any help is appreciated.<br>
<br>
-Brad<br>
<br>
_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
<a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users" target="_blank">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br>
</blockquote></div><br></div>