News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

[solved] VDR Changing default video directory

Started by G.I.R., February 27, 2012, 06:49:22 PM

Previous topic - Next topic

G.I.R.

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!




Marie.O

Just add a
USER=root

to your /etc/default/vdr file and it should work without the chmod/chown cludge
If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]