Forums » Tutorial and setups »
Synology, TVHeadend Recording Path
Added by Brandon Shermer over 7 years ago
I have a DS916+ and I have the HTS Tvheadend 4.1.2437 installed via the package on the website. I am using an HDHomeRun as an IPTV tuner and everything is perfect. Now, I am trying to setup the DVR to a local volume on the machine; /volume2/Storage/Media/TV
The rights are drwxrwxrwx+ and owned by Shermer and group users. In the synology I have looked for anything users and gave them rights to the volume and folder.
When I try to record I get an instant file missing. Any help?
Replies (4)
RE: Synology, TVHeadend Recording Path - Added by Brandon Shermer over 7 years ago
Does NFS have to be enabled if it is within the same system?
RE: Synology, TVHeadend Recording Path - Added by Daz Egar over 7 years ago
No
You probably havent got the seytup right.
You need to consider:-
1. Your Synology settings giving access rights for users , to the volume and folder
2. The mount permissions (UID,GID) of the volume as mounted by linux (fstab, automount whatever)
3. The directory permissions for the directory being accessed. NOTE: To access a directory, relevant users/groups MUST be given EXECUTE privilage AND ALL parents of the directory MUST have EXECUTE privilage for the given user/group.
4. ACLs may be set which also need to be setup - this is more complex so oout of scope for this response suffice to say if ACL is active on your mounted volume - good luck!
here is a good article, using Debian, but applies to most linux distros
https://wiki.debian.org/Permissions
RE: Synology, TVHeadend Recording Path - Added by Bertrand T over 7 years ago
I had the same issue -> you have to give full rigths to parent folder
RE: Synology, TVHeadend Recording Path - Added by Sol O'Malee over 7 years ago
Hi,
Might be a few months late, but in fact this seems rather straightforward after having some inspiration from the earlier replies...
I'm using a subfolder "RecordedTV" in the "video" shared folder.
- Deduce the path to the RecordedTV folder using Filestation properties for the subfolder. This is my path "/volume1/video/RecordedTV"
- Add this as the recording path in TVH (I cloned the default recording profile)
- Once you've created the folder, on the Synology, go to control panel, shared folders, pick the video shared folder (or the one you want to use)
- Go to Permissions tab
- From the drop down where you normally see Local Users or Local Groups, select System internal users. You will now see a whole load of accounts that are normally not visible.
- Find the TVheadend account (mine is sc-tvheadend-testing) and allow it Read & Write access on the shared folder (it should inherit to subfolders automatically.
Hope that's useful to someone
Solo