[mythtv-users] I 'd like a 2nd opinion on this mythburn solution.

Richard Bronosky mythtv at bronosky.com
Tue Apr 18 15:38:10 UTC 2006


At some point we must all stop expecting the community to do all the
work for us.  Rather than asking for a solution, I'm asking for a
second opinion on the solution that I took the time to research.

I'm using the awesome KnoppMyth R5B7.  In case ver info is important,
I did a CVS update in /myth/mythburn on 4/13/2006.

/myth/mythburn/mythtvburn.sh Line 856:
growisofs -use-the-force-luke -Z /dev/dvd -dvd-video -V "MythTV
BurnDVD" ${dvddir}
is returning <log_snippet>:-( unable to open64("/dev/dvd",O_RDONLY):
Permission denied</log_snippet> when called via the web UI.  (which is
wonderful BTW.)

I've checked:
root at mythtv:/myth/mythburn# ll /dev/dvd
lrwxrwxrwx  1 root cdrom 8 Apr  2 20:14 /dev/dvd -> /dev/hdb
root at mythtv:/myth/mythburn# ll /dev/hdb
brw-rw----  1 root cdrom 3, 64 May  7  2004 /dev/hdb
root at mythtv:/myth/mythburn# grep "^User" /etc/apache/httpd.conf
User www-data
root at mythtv:/myth/mythburn# grep "^cdrom" /etc/group
cdrom:*:24:mythtv,bruno
root at mythtv:/myth/mythburn# grep "www" /etc/group
www-data:*:33:

So, to solve my permission denied issue, should I do:
a) add the user www-data to the group cdrom
b) chmod o+rw /dev/hdb
c) something else (which you will have to explain)

I've leaning toward option "a".

I'm going to update the KnoppMythWiki and propose a patch if "a" is the answer.

Thanks,

--
,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,
       RichardBronosky
,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,


More information about the mythtv-users mailing list