[mythtv-users] numerous attempts to find HDHR

Daryl McDonald darylangela at gmail.com
Tue Feb 22 23:53:50 UTC 2022


On Tue, Feb 22, 2022 at 6:47 PM Daryl McDonald <darylangela at gmail.com>
wrote:

>
>
> On Tue, Feb 22, 2022 at 6:36 PM Bill Meek <keemllib at gmail.com> wrote:
>
>> On 2/22/22 17:27, Daryl McDonald wrote:
>> > PermissionError: [Errno 13] Permission denied:
>> '/var/log/mythtv/hdhr_discovery.log'
>>
>> User mythtv can't write to the log. I thought changing the above
>> to /tmp/hdhr_discovery.log was done. Be sure that the owner:group
>> of the file in /tmp is mythtv:mythtv. Or, just let the backend run
>> and create the file. If you run the script as yourself 1st, then
>> user mythtv won't be able to write to it. Just chown as required
>> if that happens. The same applies for any file written to by
>> multiple users.
>>
>> --
>> Bill
>> _______________________________________________
>> daryl at trieli:~$ ls -al /usr/local/bin/hdhomerun_check.py
>> -rwxr-xr-x 1 root root 1803 Feb  5 08:22 /usr/local/bin/hdhomerun_check.py
>> daryl at trieli:~$ sudo chown mythtv:mythtv
>> /usr/local/bin/hdhomerun_check.py
>> [sudo] password for daryl:
>> daryl at trieli:~$ ls -al /usr/local/bin/hdhomerun_check.py
>> -rwxr-xr-x 1 mythtv mythtv 1803 Feb  5 08:22
>> /usr/local/bin/hdhomerun_check.py
>> daryl at trieli:~$
>
>
> Should I be renaming the file to include "/tmp"
>

Maybe as mythtv:
mv  /var/log/mythtv/hdhr_discovery.log /var/log/mythtv/tmp/hdhr_discovery.log

>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20220222/1ede3313/attachment.htm>


More information about the mythtv-users mailing list