Synology SPK for DVR Record Engine

Downloads & Instructions
Post Reply
demonrik
Posts: 1283
Joined: Mon May 04, 2015 10:03 am
Device ID: 10736454, 1073A35A, 1075C377

Re: Synology SPK for DVR Record Engine

Post by demonrik »

NTC wrote:
Thu Jul 30, 2020 1:59 pm
drwxrwxrwx+ 37 http http 4096 Jul 29 14:50 .
drwxr-xr-x 13 root root 4096 Jul 29 14:48 ..
-rwxrwxrwx+ 1 hdhomerundvr users 49023 Jul 28 18:59 20200728.log
-rwxrwxrwx+ 1 hdhomerundvr users 42258 Jul 29 15:07 20200729.log
drwxrwxr-x 2 http http 4096 Jul 13 2019 Endeavour on Masterpiece
drwxrwxrwx+ 3 hdhomerundvr users 4096 Jul 29 14:39 Great Performances
-rwxr-x--- 1 hdhomerundvr http 1511164 Jul 2 02:00 hdhomerun_record
drwxrwxrwx+ 3 hdhomerundvr users 4096 Jul 24 13:34 Muscle Shoals to Music Row
drwxrwx--- 3 http http 4096 Jul 12 15:06 Saturday Night Live
drwxrwxrwx+ 2 http root 4096 Jul 4 10:29 Simply Ming
drwxrwx--- 3 http http 4096 Nov 14 2019 The 53rd Annual CMA Awards
drwxrwxrwx+ 3 http root 4096 Jul 18 21:59 The Johnny Cash Show
drwxrwxrwx+ 3 hdhomerundvr users 4096 Jul 18 17:30 This Old House
Actually - looking again...
Can you confirm if there is a difference between 'Simply Ming' and 'Saturday Night Live'
I notice one is owned as group root and the other http with different world permissions.
if you can see neither - then ignore this and follow the previous post ;)
But if you can see 'Simply Ming' epsiodes and NOT 'Saturday Night Live' then it could be that we need to simply either change the group via

Code: Select all

sudo chgrp -R users /volume/HDHomeRunDVR
and/or change the world permissions with

Code: Select all

sudo chmod -R a+wr /volume/HDHomeRunDVR
If you see 'Saturday Night Live' and not 'Simply Ming' then I'm confused :)

NTC
Posts: 20
Joined: Sat Apr 13, 2019 2:26 pm
Device ID: 10751B42

Re: Synology SPK for DVR Record Engine

Post by NTC »

demonrik wrote:
Thu Jul 30, 2020 4:24 pm
It's very odd that the new recordings don't show up but the old ones do.. I would have expected if anything the other way round.
To clarify, I can not see any recordings, old or new. Not with the app, or going to the Silicon Dust page (NAS-IP:59090). Going to "recording" on the TV app states ready to record, but when I record a new program, it does not show up. However the log file shows no errors, and when I SMB into the my NAS from my desktop, the recorded files are there.
demonrik wrote:
Thu Jul 30, 2020 4:24 pm
Might be worth seeing if doing a chown on the /volume1/HDHomeRunDVR to hdhomerundvr might fix it..

Code: Select all

sudo synopkgctl stop HDHomeRunDVR
sudo chown -R hdhomerundvr:http /volume1/HDHomeRunDVR
sudo synopkgctl start HDHomeRunDVR
Changing to hdhomerundvr:http to all files and folders fixed the problem. I can see new and old recordings on the TV app and via NAS-IP:59090. Not sure why the new install set new recordings with group users but can only be seen with group http.

Out of curiosity, with PuTTY there are some folders I can get into (i.e. Simply Ming) and some that gives me access denied. Not sure if that was the case even before I did the above chown command. Not that it matters as I can still control the folder and files within the app, through SMB, and Synology DMS file manager.

As always, thanks for you help.

demonrik
Posts: 1283
Joined: Mon May 04, 2015 10:03 am
Device ID: 10736454, 1073A35A, 1075C377

Re: Synology SPK for DVR Record Engine

Post by demonrik »

NTC wrote:
Fri Jul 31, 2020 9:33 am
Out of curiosity, with PuTTY there are some folders I can get into (i.e. Simply Ming) and some that gives me access denied. Not sure if that was the case even before I did the above chown command. Not that it matters as I can still control the folder and files within the app, through SMB, and Synology DMS file manager.
Am guessing you log in as you and not root
Therefore if you are not the user, or group, and the rest of world permissions are not set you won't get access to the folder unless you become root (sudo -i)
e.g.

Code: Select all

drwxrwx--- 3 http http 4096 Jul 12 15:06 Saturday Night Live[/ode]
if you're not http, or part of the http program then the last --- indicates you cannot read, write, or CD to the directory
but
[code]drwxrwxrwx+ 2 http root 4096 Jul 4 10:29 Simply Ming
allows everyone to CD to the directory and can read and write to it's contents (i.e. add files, and/or delete files which are also marked as a+w)

NTC
Posts: 20
Joined: Sat Apr 13, 2019 2:26 pm
Device ID: 10751B42

Re: Synology SPK for DVR Record Engine

Post by NTC »

Got it. Thanks!

Post Reply