Jellyfin Forum
DVR File Permissions - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: DVR File Permissions (/t-dvr-file-permissions)



DVR File Permissions - Airstream - 2024-08-26

I just got a HDHR and hooked it up. I can watch live tv but recordings keep failing. I am running jellyfin in a privelaged container on a proxmox host. The media drive is a seperate nvme than the jellyfin/proxmox drive. I ahve the media drive mounted to the jellyfin container and have no issues accessing the files. I use a file viewer/gui program inside the jellyfin container to see files and move them around.

This is what the log shows:
[2024-08-26 08:32:02.101 -04:00] [INF] Beginning recording. Will record for 27.964970908333335 minutes.
[2024-08-26 08:32:02.101 -04:00] [INF] Writing file to: "/jellyfins/Live Recordings/Wild Kratts/Season 1/Wild Kratts S01E29 Masked Bandits.ts"
[2024-08-26 08:32:02.101 -04:00] [ERR] Error recording to "/jellyfins/Live Recordings/Wild Kratts/Season 1/Wild Kratts S01E29 Masked Bandits.ts"
System.UnauthorizedAccessException: Access to the path '/jellyfins/Live Recordings' is denied.
---> System.IO.IOException: Permission denied
  --- End of inner exception stack trace ---


I have tried to allow read write on that file multiple times. Here is waht ls -l shows in the directory:
root@jellyfinConfused-facejellyfins# ls -l
total 88
drw-rw-rw-  5 root root 12288 Aug 18 15:49 "Kid's Movies"
drw-rw-rw-  2 root root  4096 Aug 18 07:28 "Kid's Shorts"
drw-rw-rw-  5 root root  4096 Aug 13 15:08 "Kid's TV"
drw-rw-rw-  2 root root  4096 Aug 26 08:12  live
drw-rw-rw-  2 root root 16384 Aug 13 14:33  lost+found
drw-rw-rw-  8 root root 36864 Aug 26 07:03  Movies
drw-rw-rw-  3 root root  4096 Aug 13 18:24  Music
drw-rw-rw- 13 root root  4096 Aug 25 14:09 'TV Shows'


I will admit I am not a pro at linux/proxmox and such. Thanks for the help.


RE: DVR File Permissions - Airstream - 2024-08-26

Well I might have fixed it, I kept playing with chmod and i think "chmod 777" finally did it? I will report back if its confirmed.


RE: DVR File Permissions - TheDreadPirate - 2024-08-26

Your permissions weren't set right. Directories need executable permissions so that apps can navigate through them. "cd" (change directory) is "executing" a command, which is why execute permissions are needed for directories.

Setting your permissions to 755 would suffice if you don't change the group ownership.