• 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 Troubleshooting Media Scanning & Identification Can't add media folder to library

     
    • 0 Vote(s) - 0 Average

    Can't add media folder to library

    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2023-08-31, 03:47 PM (This post was last modified: 2023-08-31, 03:49 PM by TheDreadPirate. Edited 3 times in total.)
    Even if Jellyfin is the owner of that last media folder, the jellyfin user needs to be able to get to that folder. If it doesn't have permissions on one of the folders above it then jellyfin can't get to the folder it owns.

    For a user to navigate down to a folder they own, they need read and execute permissions on every directory above it.

    Code:
    chris@rat-trap:~$ ls -ld /media/ /media/library/ /media/library/Movies/
    drwxr-xr-x  6 root  root     4096 Aug 18 23:45 /media/   <-----All users have read and execute permission.
    drwxrwxrwx 17 root  root     4096 Aug 25 23:14 /media/library/     <-----Mount point for HDD. Defaults to 777 (wide open, no restrictions).
    drwxrwx--- 75 chris jellyfin 4096 Jul 24 01:31 /media/library/Movies/   <-----Jellyfin group has full permissions.  Movies library pointed here.
    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)


    Messages In This Thread
    Can't add media folder to library - by JacquiD - 2023-08-31, 03:25 PM
    RE: Can't add media folder to library - by TheDreadPirate - 2023-08-31, 03:47 PM

    • 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