Author Topic: [solved] VDR Changing default video directory  (Read 2021 times)

G.I.R.

  • Veteran
  • ***
  • Posts: 58
    • View Profile
[solved] VDR Changing default video directory
« 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

Code: [Select]
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!



« Last Edit: February 29, 2012, 10:01:07 pm by G.I.R. »

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3675
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: VDR Changing default video directory
« Reply #1 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