[mythtv-users] Ownership problem on recordings.

john blue rwc at bestpond.com
Sun Jun 28 03:32:00 UTC 2009


My system comprises 2 computers:
.
System 1. FE/BE with 2 tuners which is intended to be the dedicated MythTV main media centre;

System 2. separate FE/BE on my general office system also with 2 tuners.

All systems use AMD x86_64 Athlon processors, on Gigabyte motherboards. All tuners are Leadtek Winfast 
DVT-1000 T.  I am running SuSE11.1 with mythtv installed from the binaries from the Packman repository, 
present Myth version is 0.21.20080304-1  I have not installed any mythtv from source. 

I am using storage groups with 3 hard drives in system 1, and 2 drives in System 2  I am using NFS to share 
all drives, and had a few issues there. Both machines run NFS server to export the directories/drives, and 
both machines run NFS-client to import the other machines directories. I used Yast2 to set these up.

The NFS server has the options   "rw,async,no_root_squash"

The NFS client uses the option  "defaults"

On both systems there is a user mythtv and group users.
The recording directories are in the same location on both systems
:
/home/mythtv/store/disk1/default  (system 1)
/home/mythtv/store/disk2/default  (system 1)
/home/mythtv/store/disk3/default  (system 2)
/home/mythtv/store/disk4/default  (system 2)
/home/mythtv/store/disk5/default  (system 2)
there are also two live tv directories, one on each system
/home/mythtv/store/disk1/live/tv
/home/mythtv/store/disk3/livetv

I have been slowly resolving a number of issues but am totally lost on this one.

Live tv and tv recordings are being recorded as root : root as per the list here:

-rw-r--r-- 1 root   root  7930001304 2009-06-27 23:11 1005_20090627202900.mpg
-rw-r--r-- 1 root   root        7777 2009-06-28 10:42 1005_20090627202900.mpg.100x56.png
-rw-rw-rw- 1 root   root       68377 2009-06-27 23:11 1005_20090627202900.mpg.png
-rw-r--r-- 1 root   root  2853286340 2009-06-28 12:11 1022_20090628110000.mpg
-rw-rw-rw- 1 root   root       64796 2009-06-28 12:11 1022_20090628110000.mpg.png

The directory & drive permissions are:

drwxrwxr-x 2 mythtv users 4096 2009-06-28 12:11 default
drwxrwxr-x 2 mythtv users 4096 2009-06-28 11:21 livetv



I have googled widely, looked at various forums, tried gossamer-threads, but I cannot find a clearcut answer 
as to why the recordings are owned by root !

I have used chown and chmod to change what was recorded, but that is only an interim measure. I did read a 
comment in one forum that seemed to suggest that the mythtv program files should be owned by user mythtv? 

I would appreciate any advice to assist in resolving what is causing the recordings to be owned by root, and 
on a solution to remedy this.

Thanks,

john



-- 

John



More information about the mythtv-users mailing list