Jellyfin Forum
How to give permission to storage paths in Ubuntu - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: General Questions (https://forum.jellyfin.org/f-general-questions)
+--- Thread: How to give permission to storage paths in Ubuntu (/t-how-to-give-permission-to-storage-paths-in-ubuntu)



How to give permission to storage paths in Ubuntu - javifeer - 2023-10-17

How to give permission to storage paths in Ubuntu

Hi guys! I installed JellyFin with docker on ubuntu, I get this message when I add something in the library:

For Linux on Arch Linux, CentOS, Debian, Fedora, openSUSE or Ubuntu, you must grant the service user read permission on the storage paths.

I can't find the way to give permission, what is the procedure?

Thank you!


RE: How to give permission to storage paths in Ubuntu - Deleted User - 2023-10-17

in docker you should have a path mapped from the host to the container

/path/in/host -> /config

when you setup the docker you should have given it a PUID and GUID

the path on the host, from the host side - chown -R PUID:GUID /path/in/host (replace the text with the actual numbers)

outside of that, everything should be fine in the docker if you followed (at least loosely) the directions from https://hub.docker.com/r/linuxserver/jellyfin


RE: How to give permission to storage paths in Ubuntu - javifeer - 2023-11-01

(2023-10-17, 08:56 PM)000 Wrote: in docker you should have a path mapped from the host to the container

/path/in/host -> /config

when you setup the docker you should have given it a PUID and GUID

the path on the host, from the host side - chown -R PUID:GUID /path/in/host (replace the text with the actual numbers)

outside of that, everything should be fine in the docker if you followed (at least loosely) the directions from https://hub.docker.com/r/linuxserver/jellyfin

Hello!

thank you very much for your answer, I managed to get to the path I wanted, now I have another problem ... I have content in the cloud mounted with rclone, it turns out that with the terminal if I see all the content, with the same file explorer but in jellyfin when viewing the media I get to the folder mounted with rclone but does not read the content.
I think it may be something permissions or something, any suggestions to solve this?

I use linux ubuntu with jellyfin installed in docker.

thank you very much once again


RE: How to give permission to storage paths in Ubuntu - Deleted User - 2023-11-01

see this post - https://superuser.com/questions/1782892/permission-issues-when-binding-mounting-a-fuse-mount-to-a-docker-container

the accepted solution is adding --allow-other


RE: How to give permission to storage paths in Ubuntu - benba - 2023-11-01

furthermore the mount has to be present when u start the container.