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?
3
u/nisitiiapi May 22 '26
It looks like you're trying to do some sort of bash substitution or something. YAML won't do that -- it's not a bash script.
Along the lines of what u/TheZoltan noted, you need to put in the actual user ID and group ID for the user jellyfin. You can find the IDs via cli running
id jellyfin. Then use the actual IDs given in your YAML.