2024-11-09, 12:47 AM
I'm running LMDE linux on an N100 with jellyfin. The system setup seems to work and can view my existing libraries, but I can't get permissions to write to them. They are stored on a QNAP nas that is also running a linux-variant OS. My nas library destinations are mounted to local /mnt directories on the jf box, then I selected those directories when I add my libraries in jf.
I tried to attach the log below but not sure it succeeded (no confirmation after drag and drop). But I can see pertinent entries that the server is trying to initiate a recording and then fails due to permissions:
[2024-11-08 19:23:43.935 -05:00] [INF] Writing file to: "/mnt/jfRecTV/WMAR-2 News at 7PM/WMAR-2 News at 7PM 2024_11_08_19_00_00.ts"
[2024-11-08 19:23:43.936 -05:00] [ERR] Error recording to "/mnt/jfRecTV/WMAR-2 News at 7PM/WMAR-2 News at 7PM 2024_11_08_19_00_00.ts"
System.UnauthorizedAccessException: Access to the path '/mnt/jfRecTV/WMAR-2 News at 7PM' is denied.
---> System.IO.IOException: Permission denied
--- End of inner exception stack trace ---
at System.IO.FileSystem.CreateDirectory(String fullPath, UnixFileMode unixCreateMode)
I have tried each of the following on both the LMDE mount point, as well as the actual destination on the nas using ssh:
chmod 777
add user jellyfin to other groups that have access
changed server username jellyfin to others with access
In all cases the file permissions continue to look like this:
drwxr-xr-x 2 dilbert root 0 Nov 6 20:30 Images
drwxr-xr-x 2 dilbert root 0 Nov 6 20:30 Imports
drwxr-xr-x 2 dilbert root 0 Nov 6 20:30 'Jimmy Kimmel Live (2003)'
drwxr-xr-x 2 dilbert root 0 Aug 13 2023 'Live TV'
drwxr-xr-x 2 dilbert root 0 Nov 6 20:32 Logs
drwxr-xr-x 2 dilbert root 0 Nov 6 20:32 'Meet the Press (1947)'
drwxr-xr-x 2 dilbert root 0 Nov 6 20:34 'NASCAR Cup Series'
drwxr-xr-x 2 dilbert root 0 Nov 6 20:34 'NCIS Origins (2024)'
drwxr-xr-x 2 dilbert root 0 Nov 6 20:35 'Nightline (1980)'
drwxr-xr-x 2 dilbert root 0 Nov 6 20:35 NOVA
drwxr-xr-x 2 dilbert root 0 Nov 6 20:35 'Saturday Night Live'
drwxr-xr-x 2 dilbert root 0 Nov 6 20:35 'Saturday Night Live (1975)'
server is v10.10.1
installation is via .deb (I think) utilizing a curl example on the jf web site
Thanks.
I tried to attach the log below but not sure it succeeded (no confirmation after drag and drop). But I can see pertinent entries that the server is trying to initiate a recording and then fails due to permissions:
[2024-11-08 19:23:43.935 -05:00] [INF] Writing file to: "/mnt/jfRecTV/WMAR-2 News at 7PM/WMAR-2 News at 7PM 2024_11_08_19_00_00.ts"
[2024-11-08 19:23:43.936 -05:00] [ERR] Error recording to "/mnt/jfRecTV/WMAR-2 News at 7PM/WMAR-2 News at 7PM 2024_11_08_19_00_00.ts"
System.UnauthorizedAccessException: Access to the path '/mnt/jfRecTV/WMAR-2 News at 7PM' is denied.
---> System.IO.IOException: Permission denied
--- End of inner exception stack trace ---
at System.IO.FileSystem.CreateDirectory(String fullPath, UnixFileMode unixCreateMode)
I have tried each of the following on both the LMDE mount point, as well as the actual destination on the nas using ssh:
chmod 777
add user jellyfin to other groups that have access
changed server username jellyfin to others with access
In all cases the file permissions continue to look like this:
drwxr-xr-x 2 dilbert root 0 Nov 6 20:30 Images
drwxr-xr-x 2 dilbert root 0 Nov 6 20:30 Imports
drwxr-xr-x 2 dilbert root 0 Nov 6 20:30 'Jimmy Kimmel Live (2003)'
drwxr-xr-x 2 dilbert root 0 Aug 13 2023 'Live TV'
drwxr-xr-x 2 dilbert root 0 Nov 6 20:32 Logs
drwxr-xr-x 2 dilbert root 0 Nov 6 20:32 'Meet the Press (1947)'
drwxr-xr-x 2 dilbert root 0 Nov 6 20:34 'NASCAR Cup Series'
drwxr-xr-x 2 dilbert root 0 Nov 6 20:34 'NCIS Origins (2024)'
drwxr-xr-x 2 dilbert root 0 Nov 6 20:35 'Nightline (1980)'
drwxr-xr-x 2 dilbert root 0 Nov 6 20:35 NOVA
drwxr-xr-x 2 dilbert root 0 Nov 6 20:35 'Saturday Night Live'
drwxr-xr-x 2 dilbert root 0 Nov 6 20:35 'Saturday Night Live (1975)'
server is v10.10.1
installation is via .deb (I think) utilizing a curl example on the jf web site
Thanks.