[mythtv] [mythtv-commits] Ticket #11195: Patch: Adds detail when mythfilldatabase cache isn't writable

Bill Meek keemllib at gmail.com
Sat Nov 3 01:00:02 UTC 2012


On 11/02/2012 05:51 PM, Gary Buhrmaster wrote:
>   This problem can be avoided by setting the permissioins on the file
>>   to allow anyone to write it (the 1st user to run the program does
>>   this and any other user silently fails to change them.)
>>
>
>
> Rather than trying to subvert the unix security model(*), may
> I suggest a better approach would be to create a temporary
> directory with a random name (using QTemporaryDir?) and
> use that as needed (with the other required code changes
> of course).
...

Gary/Daniel;

Thanks for the comments and updates.

If its of any help, sometimes the filename used is:

  /tmp/mythtv_ddp_?????/mythtv_dd_cache_#_sdUserId_UTC_##############_to_##############

I wasn't able to figure out what causes one or the other to be used.
It appears to be time related. That is, when the backend is 1st started
the 'fixed' file is selected. Sometime later, it switches to the
dd_cache directory.

-- 
Bill


More information about the mythtv-dev mailing list