2025-02-14, 02:15 PM
With linux permissions, you have to keep in mind all of the parent folders leading up to the folder you "777"'d.
For example, let's say you have your movies located in /mnt/Jellyfin/Movies. You "777"'d the Movies folder and all the folders within it. If Jellyfin doesn't have access to /mnt or /mnt/Jellyfin it cannot navigate to the Movies folder that it does have access to.
Jellyfin does not need full access to /mnt and /mnt/jellyfin. It only needs read and execute permissions. The act of "changing directories" (cd) requires both of those permission levels.
I wrote a longer Linux permissions primer over in the walkthrough sub-forum.
https://forum.jellyfin.org/t-mounting-lo...ons-primer
I suggest you give that a read. For now, if you provide the current path where Jellyfin is actually reading from, I can get you going while. Based on what you have provided, Jellyfin probably can't get into /home/nas. And it looks like you have a user called "nas".
Home directories are meant to be private and only accessible by that user. Since Jellyfin runs as its own user, you'd need to open up /home/nas. I recommend relocating your media folder outside of /home/nas. /media is a common directory for storing media and is safe to open up the permissions on.
If you want keep the videos in /home/nas, run this command. Based on what you've stated, this should be enough since you already opened up the permissions on the rest of the folders inside /home/nas containing the videos.
For example, let's say you have your movies located in /mnt/Jellyfin/Movies. You "777"'d the Movies folder and all the folders within it. If Jellyfin doesn't have access to /mnt or /mnt/Jellyfin it cannot navigate to the Movies folder that it does have access to.
Jellyfin does not need full access to /mnt and /mnt/jellyfin. It only needs read and execute permissions. The act of "changing directories" (cd) requires both of those permission levels.
I wrote a longer Linux permissions primer over in the walkthrough sub-forum.
https://forum.jellyfin.org/t-mounting-lo...ons-primer
I suggest you give that a read. For now, if you provide the current path where Jellyfin is actually reading from, I can get you going while. Based on what you have provided, Jellyfin probably can't get into /home/nas. And it looks like you have a user called "nas".
Home directories are meant to be private and only accessible by that user. Since Jellyfin runs as its own user, you'd need to open up /home/nas. I recommend relocating your media folder outside of /home/nas. /media is a common directory for storing media and is safe to open up the permissions on.
If you want keep the videos in /home/nas, run this command. Based on what you've stated, this should be enough since you already opened up the permissions on the rest of the folders inside /home/nas containing the videos.
Code:
sudo chmod 755 /home/nas