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

Gary Buhrmaster gary.buhrmaster at gmail.com
Fri Nov 2 22:51:31 UTC 2012


 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

(*) Just because there are other potential issues in MythTV
with running concurrent with other users does not mean
more should be added.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-dev/attachments/20121102/3364cb5a/attachment.html>


More information about the mythtv-dev mailing list