![]() |
Jellyfin created files permissions in Unraid - 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: Jellyfin created files permissions in Unraid (/t-jellyfin-created-files-permissions-in-unraid) |
Jellyfin created files permissions in Unraid - jmvbrown - 2025-04-02 Anytime a new TV Show or Movie is added to my unraid server, Jellyfin creates files (folder, logo, season posters) with permissions that are not editable for another user. What do my PUID, PGID, and UMASK need to be so that any file created by the Jellyfin container is editable by an allowed user? RE: Jellyfin created files permissions in Unraid - TheDreadPirate - 2025-04-02 Is the storage for your media on a network share or a locally attached hard drive? RE: Jellyfin created files permissions in Unraid - jmvbrown - 2025-04-02 The storage is locally attached hard drive/unraid array. I just want to be able to edit the overwrite files without having to change the permissions of the files created by Jellyfin each time. RE: Jellyfin created files permissions in Unraid - TheDreadPirate - 2025-04-02 Ah. So how are YOU accessing the storage? Since the server is unRAID, I'm assuming you've created a network share and you're on a different PC accessing that network share. Assuming you are accessing the unRAID storage over SMB/CIFS, IIRC the default file_mode/dir_mode is to present all files and folders as 755. Is my assumption correct? I only use unRAID for testing, but I don't recall there being way to do much file management within the unRAID web UI. RE: Jellyfin created files permissions in Unraid - jmvbrown - 2025-04-02 So I assess it through a user on the system from another computer. For whatever reason jellyfin creates the files as rw-r-r and I need it to create the files as rw-rw-rw. RE: Jellyfin created files permissions in Unraid - TheDreadPirate - 2025-04-02 What I'm reading seems to imply that setting the umask in the docker compose/docker settings does NOT translate to umask in the container environment being set to that value. You, apparently, have to set the umask via the entrypoint. Which involves rebuilding the image? https://widerin.net/blog/change-umask-in-docker-containers TLDR; it isn't a simple setting or environment variable. I tried a bunch of other ways with no success. RE: Jellyfin created files permissions in Unraid - jmvbrown - 2025-04-03 Okay! Thank for trying! I guess I'll just keep it the way it is and fix the permission each time RE: Jellyfin created files permissions in Unraid - TheDreadPirate - 2025-04-03 What you COULD do is set a sticky bit to force certain file/folder ownership. I don't know all the details of your setup, but you should look into whether this is possible for your setup. Check out my post in this other thread. https://forum.jellyfin.org/t-how-should-i-manage-library-permissions-on-ubuntu-24-04?pid=56430#pid56430 |