LinuxMCE Forums

General => Users => Topic started by: G.I.R. on February 27, 2012, 06:49:22 PM

Title: [solved] VDR Changing default video directory
Post by: G.I.R. on February 27, 2012, 06:49:22 PM
Hello,

i am using VDR with a Hauppauge Nova-TD Stick, after getting into a lot of trouble with mythtv (DiB0070 I2C write failed).
VDR seems more stable to me at the moment.

But as i have a separate media harddisk i want to store my tv-shows under "/mnt/device/ XY/public/data/pvr/".
It is working, but whenever i restart my core/hybrid, i get the wrong owner and file-permission (root:public).
Therefore vdr won`t start.

Is it ok to put something like this

chown vdr:public /mnt/device/80/public/data/pvr/ -R
chmod 774 /mnt/device/80/public/data/pvr/ -R


into /etc/rc.local?


edit:

Putting User=root into /etc/default/vdr did it!
Thanx a lot, posde!



Title: Re: VDR Changing default video directory
Post by: Marie.O on February 27, 2012, 08:37:16 PM
Just add a
USER=root

to your /etc/default/vdr file and it should work without the chmod/chown cludge