Here's an odd problem. I've just recently set up MythTV for the first time and 
have been using it for a few days. Yesterday, I noticed a few programmes 
recorded where commercial flagging had failed with an error, unable to open 
file.

I went looking in the recordings folder and thought it might be a file 
permissions problem. mythbackend and mtd are both run at startup as root and 
mythfrontend is run after logging in as mythtv. Most of the recordings files 
were owned by root with file permissions 644. I changed the existing files' 
owner and group to mythtv and set the setuid and setgid bits on the folder with 
the intention of making all new files owned by mythtv. The result is not quite 
what I expected. Every file since then has its group as mythtv but its owner is 
either mythtv or root in a pattern which seems random, and I can no longer 
watch any recordings. When I select a recording in mythfrontend, it takes no 
action when asked to play it.

I'm assuming this is a problem with what I've done with file and folder 
permissions, since I can still watch TV and videos (which are in a different 
folder). The question is, with the backend running as root and the frontend 
running as mythtv, what should the file owner and permissions be for 
recordings? And if the file's owner is mythtv, why would either the mythtv user 
or root have any problem accessing it?

-- 
Best regards,
Derek

_______________________________________________
mythtv-users mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

Reply via email to