<div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace">chown -R mythtv:mythtv /home/mythtv</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">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.</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">The "for sure" way to always catch everything is (although specifying the path to chown will also work):</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">find /home/mythtv -type d -exec chown mythtv:mythtv {} \;</div><div class="gmail_default" style="font-family:monospace,monospace">find /home/mythtv -type f -exec chown mythtv:mythtv {} \;<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 17, 2023 at 3:45 PM Daryl McDonald <<a href="mailto:darylangela@gmail.com">darylangela@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 17, 2023 at 4:22 PM Bill Meek <<a href="mailto:keemllib@gmail.com" target="_blank">keemllib@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><span></span><div><font face="monospace">On Friday 17 March 2023 02:56:41 PM (-05:00), Daryl
McDonald wrote:</font></div><div><font face="monospace"><br></font></div><div><font face="monospace">...</font></div><div><font face="monospace"><br></font></div><div><font face="monospace">>
Unexpected error when executing statement (replace into settings
(tag,<br></font></div><div><font face="monospace">> value) values (?,
?)): attempt to write a readonly database<br></font></div><div><font face="monospace">> daryl@trieli:~$<br></font></div><div><font face="monospace"><br></font></div><span><font face="monospace">Are you sure <span style="color:rgb(23,23,23);font-size:medium;white-space:pre-wrap">/home/mythtv/.xmltv/SchedulesDirect.DB is
readable/writable</span></font></span><div><span><font face="monospace"><font size="3" color="#171717"><span style="white-space:pre-wrap">by user and group
mythtv? AND make sure:</span></font><span style="color:rgb(23,23,23);font-size:medium;white-space:pre-wrap">/home/mythtv/.xmltv is
readable/writable/searchable</span></font></span></div><div><span><font size="3" face="monospace" color="#171717"><span style="white-space:pre-wrap">too.</span></font></span></div><div><span><font size="3" face="monospace" color="#171717"><span style="white-space:pre-wrap"><br></span></font></span></div><div><span><font face="monospace"><font size="3" color="#171717"><span style="white-space:pre-wrap">ls -ld
</span></font><span style="color:rgb(23,23,23);font-size:medium;white-space:pre-wrap">/home/mythtv/.xmltv/SchedulesDirect.DB </span><span style="color:rgb(23,23,23);font-size:medium;white-space:pre-wrap">/home/mythtv/.xmltv</span></font></span></div><div><span><font face="monospace"><font size="3" color="#171717"><span style="white-space:pre-wrap"><br></span></font>-- <br>Bill</font></span></div></div></blockquote><div><br></div><div> daryl@trieli:~$ ls -ld /home/mythtv/.xmltv/SchedulesDirect.DB /home/mythtv/.xmltv</div>drwxrwxr-x 3 gdm lxd 4096 Mar 17 15:55 /home/mythtv/.xmltv<br>-rw-r--r-- 1 mythtv mythtv 98304 Mar 16 20:40 /home/mythtv/.xmltv/SchedulesDirect.DB<br>daryl@trieli:~$ sudo chmod +x /home/mythtv/.xmltv/SchedulesDirect.DB /home/mythtv/.xmltv<br>[sudo] password for daryl: <br>daryl@trieli:~$ ls -ld /home/mythtv/.xmltv/SchedulesDirect.DB /home/mythtv/.xmltv<br>drwxrwxr-x 3 gdm lxd 4096 Mar 17 15:55 /home/mythtv/.xmltv<br>-rwxr-xr-x 1 mythtv mythtv 98304 Mar 16 20:40 /home/mythtv/.xmltv/SchedulesDirect.DB<br>daryl@trieli:~$ ls -dl /home/mythtv/.xmltv<br>drwxrwxr-x 3 gdm lxd 4096 Mar 17 15:55 /home/mythtv/.xmltv<br>daryl@trieli:~$ <br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">_______________________________________________<br></blockquote><div>And it still returns error code 1 </div></div></div>
_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a><br>
<a href="http://lists.mythtv.org/mailman/listinfo/mythtv-users" rel="noreferrer" target="_blank">http://lists.mythtv.org/mailman/listinfo/mythtv-users</a><br>
<a href="http://wiki.mythtv.org/Mailing_List_etiquette" rel="noreferrer" target="_blank">http://wiki.mythtv.org/Mailing_List_etiquette</a><br>
MythTV Forums: <a href="https://forum.mythtv.org" rel="noreferrer" target="_blank">https://forum.mythtv.org</a><br>
</blockquote></div>