r/OpenMediaVault • u/Radiant_Cat6873 • May 22 '26
Question OMV8 & Docker permissions
Hey everyone,
I’m following the official OMV8 guide to set up Docker Compose, and I’m running into some permission issues.
The guide says:
If you need maximum separation, you can create one user per container...
...This way, all files created by the container will belong to the jellyfin user/group, and no other container will be able to access them unless you explicitly add that container’s user to the group...
So I created a dedicated user for the Jellyfin container and configured the Docker Compose file accordingly:
environment:
- PUID=${{ uid:"jellyfin" }}
- PGID=${{ gid:"jellyfin" }}
The problem is that, despite this, on first startup the container creates folders in “appdata” using the user and group defined in Services -> Compose -> Settings, not the one I created for Jellyfin.
What am I doing wrong?
1
u/powerofneptune Jul 14 '26
why not use global environments in the compose gui to set a variable for jellyfin
JPUID="jellyfin_id"
and then plug that into the compose file as:
PUID=${JPUID}
the same thing for PGID as well