jellyfin + raspberry pi user permissions - Printable Version +- Jellyfin Forum (https://forum.jellyfin.org) +-- Forum: Support (https://forum.jellyfin.org/f-support) +--- Forum: General Questions (https://forum.jellyfin.org/f-general-questions) +--- Thread: jellyfin + raspberry pi user permissions (/t-jellyfin-raspberry-pi-user-permissions) |
jellyfin + raspberry pi user permissions - joaorennato - 2024-10-07 I have just set up Jellyfin on my raspberry pi 3b, and I'm having trouble with the user jellyfin not being able to access my external hard drive, where I have a samba share set up. I have added the jellyfin user to the sadmin group (which has access to my external drive), with: Code: usermod -a -G sadmin jellyfin and also added the jellyfin user and jelly group as an allowed on my /etc/samba/smb.conf file, like so: Code: path = /media/hd/samba/joao/Videos but I can't get it to access the external hard drive. The folder it's supposed to access is /media/hd/samba/joao/Videos/Filmes, but when I try to set it up in the web interface, it says it can not access the location. Any ideas? Thank you all in advantage! RE: jellyfin + raspberry pi user permissions - TheDreadPirate - 2024-10-07 What are the mount parameters you used in /etc/fstab? RE: jellyfin + raspberry pi user permissions - joaorennato - 2024-10-07 (2024-10-07, 07:28 PM)TheDreadPirate Wrote: What are the mount parameters you used in /etc/fstab? Hey there, thanks for replying! I used the line below, so it mounts automatically on boot. Code: UUID="5673be75-7594-43c1-be95-a8df86698565" /media/hd ext4 defaults,noatime,auto 0 0 RE: jellyfin + raspberry pi user permissions - TheDreadPirate - 2024-10-08 I re-read your post. Your Samba config has nothing to do with a local application accessing it. Samba is for remote hosts. What are the permissions on the folders? Copy and paste this command and share the output. Code: ls -ld /media /media/hd /media/hd/samba /media/hd/samba/joao /media/hd/samba/joao/Videos RE: jellyfin + raspberry pi user permissions - joaorennato - 2024-10-08 (2024-10-08, 01:15 PM)TheDreadPirate Wrote: I re-read your post. Your Samba config has nothing to do with a local application accessing it. Samba is for remote hosts. Here's the output: Code: root@raspberrypi:/home/pi# ls -ld /media /media/hd /media/hd/samba /media/hd/samba/joao /media/hd/samba/joao/Videos RE: jellyfin + raspberry pi user permissions - TheDreadPirate - 2024-10-08 Assuming that Jellyfin runs on this same host, Jellyfin does not have permissions to read beyond /media/hd/samba/joao. Can you confirm that Jellyfin is running on this same host? If so, adding r-x permissions for "others" on /media/hd/samba/joao should be enough. Code: sudo chmod o+rx /media/hd/samba/joao If that doesn't work, let me know. RE: jellyfin + raspberry pi user permissions - joaorennato - 2024-10-08 (2024-10-08, 03:34 PM)TheDreadPirate Wrote: Assuming that Jellyfin runs on this same host, Jellyfin does not have permissions to read beyond /media/hd/samba/joao. I can confirm that it works and I'm now able to access my movie library! OMG, thank you so much for all your help! |