[mythtv-users] log errors

Bill Meek keemllib at gmail.com
Sun Oct 26 14:24:42 UTC 2014


On 10/24/2014 11:28 PM, Daryl McDonald wrote:
...
>>   daryl at daryl-A780L3C:~$  find /media/storage/mythtv/recordings -type f -name "*.mpg" ! -user mythtv -ls | pastebinit
>> http://paste.ubuntu.com/8665988/
>>
>> OK that got a lot of traffic, do each of these files need to be "touched"?

I suspect you already fixed this by now, but the files in the pastebin
are owned by user ntp, not mythtv.

     sudo chown -R mythtv /media/storage/mythtv/recordings

will fix that.

There might be more as a result of your conversion, and I can tell you
that on my system, there are only 3-6 files owned by ntp, so I'd do
the find command again for your whole system and see if there are any
more files that you'd want owned by user mythtv:

     sudo find / -user ntp -ls 2> /dev/null

may find these *but don't change them* (or any in /proc):

$ sudo find / -user ntp -ls
1974213    4 drwxr-xr-x   2 ntp      ntp          4096 Oct 26 00:45 /var/lib/ntp
1966676    4 -rw-r--r--   1 ntp      ntp             7 Oct 26 00:45 /var/lib/ntp/ntp.drift
1974269    4 drwxr-xr-x   2 ntp      ntp          4096 Oct  9  2013 /var/log/ntpstats

If you don't know who should own them, don't change them.

If *new* recordings (files) continue to be created with user ntp, then
there's another issue.

-- 
Bill


More information about the mythtv-users mailing list