Posts: 5
Joined: Oct 2013
Reputation:
0
Hello,
sorry for my bad english.
I run XBMC on a Zbox, on the media server is running Zentyal 3 and Tvheadend with dvbs-2 card.
Everything runs clean.
Tvheadend recording folder is /mnt/2TBHDD on a second hard drive.
But Tvheadend records nothing :-(
Who can help me?
Mario
Posts: 2,764
Joined: Mar 2011
Reputation:
95
Upload a copy of syslog (or equivalent), please - that should show tvheadend trying to record and maybe give some clues as to why it's failing.
My suspicion would be permissions... does the tvheadend process (possibly user tvheadend) have write permission to the target directory?
Maybe also include a copy of your Recording config page in tvheadend, and an ls -la of /mnt.
Posts: 3,735
Joined: Dec 2010
Reputation:
53
negge
yo guysv7may bd latr tomorroe
Posts: 3,735
Use chown/chgrp/chmod to fix permissions on the mount.
Posts: 5
Joined: Oct 2013
Reputation:
0
chown / chgrp / chmod I have already tried the settings are reset at reboot :-(
Posts: 5
Joined: Oct 2013
Reputation:
0
2013-10-05, 16:22
(This post was last modified: 2013-10-05, 16:26 by supermarioh.)
Hi Prof Yaffle,
i mount the 2 TB HDD in /etc/fstab :
# mount sbd1 (Data HDD)
UUID=43bd3db9-bb17-4865-1254ertvv34r /media/2TBHDD ext3 rw,suid,dev,exec,acl,auto,users,async 0 2
It's an internal HDD.
Wenn i chown -R root:video /media/TBHDD it works fine.
The problem is after reboot the owner of /media/2TBHDD is changed to root:Administrator.
ps -eaf | grep tvheadend =
hts 1014 1 3 16:08 ? 00:00:34 tvheadend -f -u hts -g video
Posts: 2,764
Joined: Mar 2011
Reputation:
95
Unmount the drive and check the permissions/ownership of the mount point - see if you can change those and then remount. I'm no expert on drive mounting, so maybe someone else will happen along, but you may simply be inheriting the default permissions as I suggested above.
The ps says that tvheadend is running as hts:video, which is why it can only write when you chown'ed the directories to root:video - then, you had the right group permissions to write.
1. See if you can change the mount point to root:video before mounting, or
2. See if you can chmod the mount point to 775 before mounting to give u=rwx g=rwx o=rw