<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Oct 26, 2014 at 10:24 AM, Bill Meek <span dir="ltr"><<a href="mailto:keemllib@gmail.com" target="_blank">keemllib@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">On 10/24/2014 11:28 PM, Daryl McDonald wrote:<br>
...<br>
</span><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
daryl@daryl-A780L3C:~$ find /media/storage/mythtv/<u></u>recordings -type f -name "*.mpg" ! -user mythtv -ls | pastebinit<span class=""><br>
<a href="http://paste.ubuntu.com/8665988/" target="_blank">http://paste.ubuntu.com/<u></u>8665988/</a><br>
<br>
OK that got a lot of traffic, do each of these files need to be "touched"?<br>
</span></blockquote></blockquote>
<br>
I suspect you already fixed this by now, but the files in the pastebin<br>
are owned by user ntp, not mythtv.<br>
<br>
sudo chown -R mythtv /media/storage/mythtv/<u></u>recordings<br></blockquote><div><br></div><div>I did them one at a time, the above command would have done it in one fell swoop? </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
will fix that.<br>
<br>
There might be more as a result of your conversion, and I can tell you<br>
that on my system, there are only 3-6 files owned by ntp, so I'd do<br>
the find command again for your whole system and see if there are any<br>
more files that you'd want owned by user mythtv:<br>
<br>
sudo find / -user ntp -ls 2> /dev/null<br>
<br>
may find these *but don't change them* (or any in /proc):<br>
<br>
$ sudo find / -user ntp -ls<br>
1974213 4 drwxr-xr-x 2 ntp ntp 4096 Oct 26 00:45 /var/lib/ntp<br>
1966676 4 -rw-r--r-- 1 ntp ntp 7 Oct 26 00:45 /var/lib/ntp/ntp.drift<br>
1974269 4 drwxr-xr-x 2 ntp ntp 4096 Oct 9 2013 /var/log/ntpstats<br></blockquote><div><br></div><div> daryl@daryl-A780L3C:~$ sudo find / -user ntp -ls 2> /dev/null</div><div>[sudo] password for daryl: </div><div> 49464 4 drwxr-xr-x 2 ntp ntp 4096 Oct 9 2013 /var/log/ntpstats</div><div> 34568 4 drwxr-xr-x 2 ntp ntp 4096 Oct 26 15:12 /var/lib/ntp</div><div> 37119 4 -rw-r--r-- 1 ntp ntp 6 Oct 26 15:12 /var/lib/ntp/ntp.drift</div><div> 12406 0 dr-xr-xr-x 9 ntp ntp 0 Oct 26 16:06 /proc/1554</div><div> 65234 0 dr-xr-xr-x 3 ntp ntp 0 Oct 26 16:20 /proc/1554/task</div><div> 65278 0 dr-xr-xr-x 6 ntp ntp 0 Oct 26 16:20 /proc/1554/task/1554</div><div> 65305 0 dr-xr-xr-x 2 ntp ntp 0 Oct 26 16:20 /proc/1554/task/1554/attr</div><div> 12407 0 dr-xr-xr-x 5 ntp ntp 0 Oct 26 16:06 /proc/1554/net</div><div> 65260 0 dr-xr-xr-x 2 ntp ntp 0 Oct 26 16:20 /proc/1554/attr</div><div>>9044058 0 -rw-rw-r-- 1 ntp mythtv 0 Sep 11 2013 /media/storage/mythtv/3197_20130630200000.mpg.</div><div>>9044004 4 drwxrwxr-x 2 ntp mythtv 4096 Oct 21 2013 /media/storage/mythtv/mythexport</div><div>>9044299 0 -rw-r--r-- 1 ntp mythtv 0 Oct 21 2013 /media/storage/mythtv/mythexport/mythexport.5</div><div>>9044123 0 -rw-r--r-- 1 ntp mythtv 0 Oct 21 2013 /media/storage/mythtv/mythexport/mythexport.2</div><div>>9044296 0 -rw-r--r-- 1 ntp mythtv 0 Oct 21 2013 /media/storage/mythtv/mythexport/mythexport.3</div><div>>9044297 0 -rw-r--r-- 1 ntp mythtv 0 Oct 21 2013 /media/storage/mythtv/mythexport/mythexport.4</div><div>26083781 4 drwxr-xr-x 2 ntp ntp 4096 Oct 9 2013 /media/storage2/mythtv/rsync/var/log/ntpstats</div><div>20450830 4 drwxr-xr-x 2 ntp ntp 4096 Oct 21 10:39 /media/storage2/mythtv/rsync/var/lib/ntp</div><div>20450884 4 -rw-r--r-- 1 ntp ntp 6 Oct 21 10:39 /media/storage2/mythtv/rsync/var/lib/ntp/ntp.drift</div><div>daryl@daryl-A780L3C:~$ </div><div><br></div><div>I'm guessing the ones >'d in could be chown'd?</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
If you don't know who should own them, don't change them.<br>
<br>
If *new* recordings (files) continue to be created with user ntp, then<br>
there's another issue.<div class=""><div class="h5"><br>
<br>
-- <br>
Bill<br>
______________________________<u></u>_________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a><br>
<a href="http://www.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://www.mythtv.org/mailman/<u></u>listinfo/mythtv-users</a><br>
<a href="http://wiki.mythtv.org/Mailing_List_etiquette" target="_blank">http://wiki.mythtv.org/<u></u>Mailing_List_etiquette</a><br>
MythTV Forums: <a href="https://forum.mythtv.org" target="_blank">https://forum.mythtv.org</a></div></div></blockquote><div><br></div><div>Something weird last night, after chown'ng fifty or so "ntp's" my system started acting sluggish and the file system went into "read only mode", info center said "are you running mfdb? there are no days of listings".</div><div><br></div><div>I rebooted into a previous kernel, and the sun was shining, in that virtual world, last night's and this morning's recordings went good, and now I've rebooted into the latest kernel, and the sun is shining again? Last time this happened I scrambled to restore a system and database backup. I'm left happily curious?! Daryl</div></div><br></div></div>