LinuxMCE Forums
May 26, 2013, 02:53:59 am GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
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
 
   Home   Help Search Chat Login Register  
Pages: [1]
  Print  
Author Topic: [solved] VDR Changing default video directory  (Read 265 times)
G.I.R.
Newbie
*
Posts: 4


View Profile
« 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:
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. » Logged
posde
Administrator
LinuxMCE God
*****
Posts: 2622


Wastes Life On LinuxMCE Since 2007


View Profile WWW
« 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
Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!