On 3/4/07, <b class="gmail_sendername">Karl Hegbloom</b> <<a href="mailto:karlheg@gmail.com">karlheg@gmail.com</a>> 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>> My recordings are placed in /myth/dvds:<br>><br>> $ ls -ld /myth/dvds/<br>> drwxrwxr-x 3 mythtv www-data 4096 2007-02-25 08:40 /myth/dvds/<br>> $ ls -l /myth/dvds/
<br>> total 36393288<br>> -rwxrwxrwx 1 mythtv www-data 6956677120 2007-02-23 12:56<br>> BABEL_DOMESTIC.vob<br>> -rwxrwxrwx 1 mythtv www-data 4491030528 2007-02-23 13:44<br>> CN30NNW1.vob<br>> drwxrwxrwx 3 mythtv www-data 16 2007-02-23 16:35
<br>> MAN_OF_THE_YEAR<br>> -rwxrwxrwx 1 mythtv www-data 6741344256 2007-02-23 17:37<br>> MAN_OF_THE_YEAR.vob<br>> -rwxrwxrwx 1 mythtv www-data 30331 2007-02-26 10:02 mtd.log<br>> ...<br><br>Why are those all marked executable and write-able by "other"? 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 "www-data". You may also
<br>need to set the 'umask' for the "mythtv" user such that the files<br>created are group readable... The 'umask' 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'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;">> I put in a link from /usr/share/mythtv/mythweb/data/videos
<br>> -> /myth/dvds<br>><br>> I can see all of the video information in the mythweb video screen,<br>> but when I try click on one of the movies to play it in a browser, I<br>> get a permission denied error message.
<br><br>Please post one of the failing URL's that MythWeb presents. (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't have permission to access /mythweb/data/video/SNOW_WHITE.vob
on this server.<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>> Has anyone else run into this previously? Am I missing something?
<br><br>I think it is related to directory/file permissions and/or your Apache<br>configuration. 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. Perhaps you need it to<br>"Options FollowSymlinks"?</blockquote><div><br><br>I tried adding this too, but it doesn'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 <<a href="mailto:karlheg@gmail.com">karlheg@gmail.com</a>><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>