• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support General Questions Jellyfin created files permissions in Unraid

     
    • 0 Vote(s) - 0 Average

    Jellyfin created files permissions in Unraid

    Jellyfin created files permissions in Unraid
    jmvbrown
    Offline

    Junior Member

    Posts: 41
    Threads: 6
    Joined: 2024 Jun
    Reputation: 0
    #1
    2025-04-02, 01:15 PM
    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?


    Attached Files Thumbnail(s)
       
    Jellyfin 10.10.7
    Unraid 7.0.0
    Intel i5 12400 on MACHINIST B660-Windwalker ITX
    32 GB DDR4-3600
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2025-04-02, 02:54 PM
    Is the storage for your media on a network share or a locally attached hard drive?
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    jmvbrown
    Offline

    Junior Member

    Posts: 41
    Threads: 6
    Joined: 2024 Jun
    Reputation: 0
    #3
    2025-04-02, 03:00 PM
    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.
    Jellyfin 10.10.7
    Unraid 7.0.0
    Intel i5 12400 on MACHINIST B660-Windwalker ITX
    32 GB DDR4-3600
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2025-04-02, 03:38 PM
    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.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    jmvbrown
    Offline

    Junior Member

    Posts: 41
    Threads: 6
    Joined: 2024 Jun
    Reputation: 0
    #5
    2025-04-02, 03:48 PM
    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.
    Jellyfin 10.10.7
    Unraid 7.0.0
    Intel i5 12400 on MACHINIST B660-Windwalker ITX
    32 GB DDR4-3600
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2025-04-02, 04:41 PM
    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...containers

    TLDR; it isn't a simple setting or environment variable.

    I tried a bunch of other ways with no success.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    jmvbrown
    Offline

    Junior Member

    Posts: 41
    Threads: 6
    Joined: 2024 Jun
    Reputation: 0
    #7
    2025-04-03, 02:06 PM
    Okay! Thank for trying! I guess I'll just keep it the way it is and fix the permission each time
    Jellyfin 10.10.7
    Unraid 7.0.0
    Intel i5 12400 on MACHINIST B660-Windwalker ITX
    32 GB DDR4-3600
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #8
    2025-04-03, 03:41 PM
    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-...0#pid56430
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode