[mythtv-users] mythweb issues

Jared Greenwald greenwaldjared at gmail.com
Sun Mar 4 09:09:34 UTC 2007


On 3/4/07, Karl Hegbloom <karlheg at gmail.com> wrote:
>
> On Sat, 2007-03-03 at 02:09 -0500, Jared Greenwald wrote:
> > My recordings are placed in /myth/dvds:
> >
> > $ ls -ld /myth/dvds/
> > drwxrwxr-x 3 mythtv www-data 4096 2007-02-25 08:40 /myth/dvds/
> > $ ls -l /myth/dvds/
> > total 36393288
> > -rwxrwxrwx 1 mythtv   www-data 6956677120 2007-02-23 12:56
> > BABEL_DOMESTIC.vob
> > -rwxrwxrwx 1 mythtv   www-data 4491030528 2007-02-23 13:44
> > CN30NNW1.vob
> > drwxrwxrwx 3 mythtv   www-data         16 2007-02-23 16:35
> > MAN_OF_THE_YEAR
> > -rwxrwxrwx 1 mythtv   www-data 6741344256 2007-02-23 17:37
> > MAN_OF_THE_YEAR.vob
> > -rwxrwxrwx 1 mythtv   www-data      30331 2007-02-26 10:02 mtd.log
> > ...
>
> Why are those all marked executable and write-able by "other"?  I think
> I would cd into that directory and run:
>
> find -type f -exec chmod u=rw,go=r \{\} \;
> find -type d -exec chmod u=rwx,go=rx \{\} \;
>
> ... and also perhaps:
>
> chmod g+s .
>
> ... so that new files there are owned by group "www-data".  You may also
> need to set the 'umask' for the "mythtv" user such that the files
> created are group readable...  The 'umask' is probably already set that
> way, but check it after ripping the next DVD to be sure.



Ok, tried but it didn't have much affect.

> I put in a link from /usr/share/mythtv/mythweb/data/videos
> > -> /myth/dvds
> >
> > I can see all of the video information in the mythweb video screen,
> > but when I try click on one of the movies to play it in a browser, I
> > get a permission denied error message.
>
> Please post one of the failing URL's that MythWeb presents.  (In
> Firefox, you can right-click on the link and select copy location to put
> the URL into the clipboard for pasting into email.)


http://mythbackend/mythweb/data/video/SNOW_WHITE.vob

The error I get is: You don't have permission to access
/mythweb/data/video/SNOW_WHITE.vob on this server.


>
> > Has anyone else run into this previously?  Am I missing something?
>
> I think it is related to directory/file permissions and/or your Apache
> configuration.  Make sure that the URL points to a file system location
> that Apache knows about and that the per directory and per location
> configuration in Apache are right for that.  Perhaps you need it to
> "Options FollowSymlinks"?



I tried adding this too, but it doesn't seem to have had any affect.

--
> Karl Hegbloom <karlheg at gmail.com>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20070304/ae7a735b/attachment-0001.htm 


More information about the mythtv-users mailing list