So I’m playing around with a Jellyfin image using Podman on Fedora 40, to deploy a home media server using media files from an external drive, but inside the directory that contains the series and movies, some subdirectories have incorrect permissions like this:
[root@217ee0768af8 media]# ls -hal "Porco Rosso"
ls: cannot access 'Porco Rosso/Porco Rosso.mkv': Permission denied
ls: cannot access 'Porco Rosso/.Porco.Rosso.1992.1080p.BluRay.X264-AMIABLE.txt': Permission denied
ls: cannot access 'Porco Rosso/.Porco Rosso.es.srt': Permission denied
ls: cannot access 'Porco Rosso/.Porco Rosso.es.aac': Permission denied
total 80K
drwxr-xr-x. 2 root root 4.0K Aug 13 03:48 .
drwxr-xr-x. 15 root root 4.0K Aug 14 03:46 ..
-?????????? ? ? ? ? ? '.Porco Rosso.es.aac'
-?????????? ? ? ? ? ? '.Porco Rosso.es.srt'
-?????????? ? ? ? ? ? .Porco.Rosso.1992.1080p.BluRay.X264-AMIABLE.txt
-?????????? ? ? ? ? ? 'Porco Rosso.mkv'
-rw-r--r--. 1 root root 71K Aug 13 03:48 folder.jpg
I tried with a Debian, Ubuntu and a Fedora image mounting the same directory and getting the same results, but when I tried to mounting it using Docker on a Ubuntu machine, there was no permissions problem whatsoever. One thing to note is that my Fedora installation used Btrfs while the Ubuntu installation uses Ext4, the same filesystem used in my external drive.
This is the compose file I’m using, if it’s relevant:
version: '3.5'
services:
jellyfin:
image: jellyfin/jellyfin
container_name: jellyfin
environment:
- TZ=America/Santiago
ports:
- 8096:8096
volumes:
- /run/media/user/ExternalDrive/.jellyfin/config:/config:z
- /run/media/user/ExternalDrive/.jellyfin/cache:/cache:z
- /run/media/user/ExternalDrive/Series:/media/series:z
n1c0saurio is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.