On 3/4/07, <b class="gmail_sendername">Karl Hegbloom</b> &lt;<a href="mailto:karlheg@gmail.com">karlheg@gmail.com</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Sat, 2007-03-03 at 02:09 -0500, Jared Greenwald wrote:<br>&gt; My recordings are placed in /myth/dvds:<br>&gt;<br>&gt; $ ls -ld /myth/dvds/<br>&gt; drwxrwxr-x 3 mythtv www-data 4096 2007-02-25 08:40 /myth/dvds/<br>&gt; $ ls -l /myth/dvds/
<br>&gt; total 36393288<br>&gt; -rwxrwxrwx 1 mythtv&nbsp;&nbsp; www-data 6956677120 2007-02-23 12:56<br>&gt; BABEL_DOMESTIC.vob<br>&gt; -rwxrwxrwx 1 mythtv&nbsp;&nbsp; www-data 4491030528 2007-02-23 13:44<br>&gt; CN30NNW1.vob<br>&gt; drwxrwxrwx 3 mythtv&nbsp;&nbsp; www-data&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 16 2007-02-23 16:35
<br>&gt; MAN_OF_THE_YEAR<br>&gt; -rwxrwxrwx 1 mythtv&nbsp;&nbsp; www-data 6741344256 2007-02-23 17:37<br>&gt; MAN_OF_THE_YEAR.vob<br>&gt; -rwxrwxrwx 1 mythtv&nbsp;&nbsp; www-data&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;30331 2007-02-26 10:02 mtd.log<br>&gt; ...<br><br>Why are those all marked executable and write-able by &quot;other&quot;?&nbsp;&nbsp;I think
<br>I would cd into that directory and run:<br><br> find -type f -exec chmod u=rw,go=r \{\} \;<br> find -type d -exec chmod u=rwx,go=rx \{\} \; <br><br>... and also perhaps:<br><br> chmod g+s .<br><br>... so that new files there are owned by group &quot;www-data&quot;.&nbsp;&nbsp;You may also
<br>need to set the &#39;umask&#39; for the &quot;mythtv&quot; user such that the files<br>created are group readable...&nbsp;&nbsp;The &#39;umask&#39; is probably already set that<br>way, but check it after ripping the next DVD to be sure.
</blockquote><div><br><br>Ok, tried but it didn&#39;t have much affect.<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">&gt; I put in a link from /usr/share/mythtv/mythweb/data/videos
<br>&gt; -&gt; /myth/dvds<br>&gt;<br>&gt; I can see all of the video information in the mythweb video screen,<br>&gt; but when I try click on one of the movies to play it in a browser, I<br>&gt; get a permission denied error message.
<br><br>Please post one of the failing URL&#39;s that MythWeb presents.&nbsp;&nbsp;(In<br>Firefox, you can right-click on the link and select copy location to put<br>the URL into the clipboard for pasting into email.)</blockquote><div>
<br><a href="http://mythbackend/mythweb/data/video/SNOW_WHITE.vob">http://mythbackend/mythweb/data/video/SNOW_WHITE.vob</a><br><br>The error I get is: You don&#39;t have permission to access /mythweb/data/video/SNOW_WHITE.vob
on this server.<br>&nbsp;</div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">&gt;<br>&gt; Has anyone else run into this previously?&nbsp;&nbsp;Am I missing something?
<br><br>I think it is related to directory/file permissions and/or your Apache<br>configuration.&nbsp;&nbsp;Make sure that the URL points to a file system location<br>that Apache knows about and that the per directory and per location
<br>configuration in Apache are right for that.&nbsp;&nbsp;Perhaps you need it to<br>&quot;Options FollowSymlinks&quot;?</blockquote><div><br><br>I tried adding this too, but it doesn&#39;t seem to have had any affect.<br></div><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">--<br>Karl Hegbloom &lt;<a href="mailto:karlheg@gmail.com">karlheg@gmail.com</a>&gt;<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">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
</a><br></blockquote></div><br>