[mythtv] [mythtv-commits] Ticket #4787: No error shown if storage groups are not writeable

Michael T. Dean mtdean at thirdcontact.com
Mon Mar 3 18:32:47 UTC 2008


On 02/26/2008 10:58 AM, MythTV wrote:
> #4787: No error shown if storage groups are not writeable
>
>  It was not very obvious what was going wrong until I found the logs. But
>  for some reason the security setting were not set correctly for my only
>  storage group. thus when I went to start livetv it just exited out
>  straight away yet scheduled recording were ok.
>
>  As soon as I fixed the permissions it was ok.
>
>  Should there be a check in mythtv setup to ensure that the storage groups
>  have write access?

This already exists.  
http://svn.mythtv.org/trac/browser/trunk/mythtv/libs/libmyth/storagegroup.cpp#L277

>  Or when you try to start livetv and it has a problem
>  with permissions to the hard drive it throws up and error instead of jsut
>  exiting with out any reason.
>
>  Looks pretty good so far, very happy.

Sounds like you may have run mythtv-setup as a user with write 
permission to the directory (i.e. root), but you're running mythbackend 
as a user without write permission (i.e. mythtv).

Mike


More information about the mythtv-dev mailing list