• 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 Path not found with symbolic links and correct permissions

     
    • 0 Vote(s) - 0 Average

    Path not found with symbolic links and correct permissions

    GregTheHun
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2024 Aug
    Reputation: 0
    Country:United States
    #1
    2024-08-20, 04:19 PM (This post was last modified: 2024-08-20, 04:20 PM by GregTheHun. Edited 2 times in total.)
    So, it appears after installing jellyfin and doing what I believed worked last time for setting it up it appears to not want to add libraries.

    First I created a symlink (symbolic link) to my videos on an External HD I have under "/" :

    Code:
    lrwxrwxrwx - jellyfin jellyfin 20 Aug 10:01 videos -> /media/greg/Files/videos/

    As well as all files inside that directory are owned by jellyfin:jellyfin, but I can't determine what might be causing jellyfin to not allow that folder to be used other than it being a symlink.

    Thanks all!
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-08-20, 05:09 PM
    I am 99% certain that /media/greg has an ACL on it. I'm assuming that this is a drive that was auto-mounted by your OS. With Linux whatever folder you are trying to access the app/user needs permission on EVERY step in that path. Not just the final folder and files.

    Instead of allowing the OS to auto mount the drive and then symlinking, which does NOT bypass permission issues, you should manually mount the drive at the location you actually want to use.

    Follow my post linked below and let me know if you have any questions regarding the process in this thread.

    https://forum.jellyfin.org/t-cannot-acce...6#pid32986
    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]
    GregTheHun
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2024 Aug
    Reputation: 0
    Country:United States
    #3
    2024-08-20, 06:29 PM (This post was last modified: 2024-08-20, 06:31 PM by GregTheHun. Edited 1 time in total.)
    Actually, I do have that mounted as such:

    Code:
    # External HD
    UUID=```filler for UUID```    /media/greg/Files    ext4    defaults,noatime    0 0
    GregTheHun
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2024 Aug
    Reputation: 0
    Country:United States
    #4
    2024-08-20, 06:38 PM
    Also, as I know this normally gets asked:

    Code:
    greg@desktop01:~
    ➤ ls -ld /media
    drwxr-xr-x 5 root root 4096 Aug 20 10:00 /media/
    greg@desktop01:~
    ➤ ls -ld /media/greg
    drwxr-xr--+ 3 root root 4096 Aug 19 10:46 /media/greg/
    greg@desktop01:~
    ➤ ls -ld /media/greg/Files/
    drwxrwxr-t 25 greg 1002 4096 Jul 18 13:13 /media/greg/Files//
    greg@desktop01:~
    ➤ ls -ld /media/greg/Files/videos/
    drwxrwxr-x 19 jellyfin jellyfin 4096 Aug 20 10:02 /media/greg/Files/videos//
    greg@desktop01:~
    ➤ ls -ld /videos/
    drwxrwxr-x 19 jellyfin jellyfin 4096 Aug 20 10:02 /videos//
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #5
    2024-08-20, 06:38 PM (This post was last modified: 2024-08-20, 06:39 PM by TheDreadPirate.)
    Ok. Mount the drive outside of /media/greg. Most distros will auto-mount USB drives and stuff in /media/greg and that directory usually has an ACL. You can remove the ACL, but the next time you plug in a USB drive it will re-apply the ACL.

    Yep, it has an ACL. The + at the end of the permissions.

    Code:
    drwxr-xr--+ 3 root root 4096 Aug 19 10:46 /media/greg/
    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