Jellyfin Forum
Path not found with symbolic links and correct permissions - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+---- Forum: Media Scanning & Identification (https://forum.jellyfin.org/f-media-scanning-identification)
+---- Thread: Path not found with symbolic links and correct permissions (/t-path-not-found-with-symbolic-links-and-correct-permissions)



Path not found with symbolic links and correct permissions - GregTheHun - 2024-08-20

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!


RE: Path not found with symbolic links and correct permissions - TheDreadPirate - 2024-08-20

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-access-hdd?pid=32986#pid32986


RE: Path not found with symbolic links and correct permissions - GregTheHun - 2024-08-20

Actually, I do have that mounted as such:

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



RE: Path not found with symbolic links and correct permissions - GregTheHun - 2024-08-20

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//



RE: Path not found with symbolic links and correct permissions - TheDreadPirate - 2024-08-20

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/