[mythtv-users] mythfilldatgabase failure
Greg Oliver
oliver.greg at gmail.com
Fri Mar 17 21:26:51 UTC 2023
chown -R mythtv:mythtv /home/mythtv
You can see the directories did not get changed because you were in the
directory of the user and it started with a ".", and with chown, files with
"." are not caught unless you begin them with period.
The "for sure" way to always catch everything is (although specifying the
path to chown will also work):
find /home/mythtv -type d -exec chown mythtv:mythtv {} \;
find /home/mythtv -type f -exec chown mythtv:mythtv {} \;
On Fri, Mar 17, 2023 at 3:45 PM Daryl McDonald <darylangela at gmail.com>
wrote:
>
>
> On Fri, Mar 17, 2023 at 4:22 PM Bill Meek <keemllib at gmail.com> wrote:
>
>> On Friday 17 March 2023 02:56:41 PM (-05:00), Daryl McDonald wrote:
>>
>> ...
>>
>> > Unexpected error when executing statement (replace into settings (tag,
>> > value) values (?, ?)): attempt to write a readonly database
>> > daryl at trieli:~$
>>
>> Are you sure /home/mythtv/.xmltv/SchedulesDirect.DB is readable/writable
>> by user and group mythtv? AND make sure:/home/mythtv/.xmltv is
>> readable/writable/searchable
>> too.
>>
>> ls -ld /home/mythtv/.xmltv/SchedulesDirect.DB /home/mythtv/.xmltv
>>
>> --
>> Bill
>>
>
> daryl at trieli:~$ ls -ld /home/mythtv/.xmltv/SchedulesDirect.DB
> /home/mythtv/.xmltv
> drwxrwxr-x 3 gdm lxd 4096 Mar 17 15:55 /home/mythtv/.xmltv
> -rw-r--r-- 1 mythtv mythtv 98304 Mar 16 20:40
> /home/mythtv/.xmltv/SchedulesDirect.DB
> daryl at trieli:~$ sudo chmod +x /home/mythtv/.xmltv/SchedulesDirect.DB
> /home/mythtv/.xmltv
> [sudo] password for daryl:
> daryl at trieli:~$ ls -ld /home/mythtv/.xmltv/SchedulesDirect.DB
> /home/mythtv/.xmltv
> drwxrwxr-x 3 gdm lxd 4096 Mar 17 15:55 /home/mythtv/.xmltv
> -rwxr-xr-x 1 mythtv mythtv 98304 Mar 16 20:40
> /home/mythtv/.xmltv/SchedulesDirect.DB
> daryl at trieli:~$ ls -dl /home/mythtv/.xmltv
> drwxrwxr-x 3 gdm lxd 4096 Mar 17 15:55 /home/mythtv/.xmltv
> daryl at trieli:~$
>
>> _______________________________________________
>>
> And it still returns error code 1
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20230317/ade5ae17/attachment.htm>
More information about the mythtv-users
mailing list