romm icon indicating copy to clipboard operation
romm copied to clipboard

[Feature] Docker container ignores user parameter

Open Bankst opened this issue 1 year ago • 2 comments

RomM version 2.1.0

Describe the bug Container ignores specified user parameter, instead requiring uid/gid 1000 to have access to any volume mounts.

To Reproduce Set user parameter in docker-compose.yaml, i.e. user: "3000:3000"

Expected behavior Container obeys defined user when accessing files, running application

Bankst avatar Dec 24 '23 09:12 Bankst

@psych0d0g Any chance this is something you're familiar with? I understand user permissions but I'm not exactly sure how to update perms within romm.

gantoine avatar Dec 24 '23 17:12 gantoine

there is no easy solution for this in combination with a "readonly rootfs deployment" especially since the files and directories inside of the containers have to somehow be managed in accordeance to a "dynamic" UID / GID setting possibility

Additionally, imho, this issue wouldnt classify as "bug" but as "feature request" since currently the whole docker container setup is statically tied to a UID of 1000

psych0d0g avatar Dec 29 '23 12:12 psych0d0g