You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by wesgould January 28, 2024
I am running into weird permission issues if I try to pass in the PUID and PGID Environment variables to the container. It appears as though the PUID is being passed properly but the PGID might not be.
If I run this, with my valheim (1001:1001) user without any PUID or PGID args it creates a structure where the directory and files are all 1000:1000 aka my regular user account owns them. BUT IT WORKS*. I just want all of these files/directories and everything to be owned by my valheim 'service' account that I created for additional security.
I think the steam user inside the container is running at 1000:1000 by default and it seems to not like it if you pass the variables.
valheim | 2024-01-28 11:22:31 - #[INFO]: ###########################################################################
valheim | 2024-01-28 11:22:31 - [Valheim][INFO]: Valheim Server - Sun Jan 28 11:22:31 AM EST 2024
valheim | 2024-01-28 11:22:31 - [Valheim][INFO]: STEAM_UID 1000 - STEAM_GUID 1000
valheim | 2024-01-28 11:22:31 - [Valheim][INFO]: Installing Valheim via odin 2.1.0...
valheim | 2024-01-28 11:22:31 - #[INFO]: ###########################################################################
What am I doing wrong? I am sure its something super dumb on my end, but maybe its a bug?
For what its worth I search for an answer, saw this #18 and #23 but nothing in there seemed to point me in the right direction other than it seems like it was fixed years ago?
The text was updated successfully, but these errors were encountered:
Hey @mbround18 yes, I was able to test and it worked. I saw your follow up in the discussion thread as well, so I will be trying that "extend the container" option as well.
Discussed in #786
Originally posted by wesgould January 28, 2024
I am running into weird permission issues if I try to pass in the PUID and PGID Environment variables to the container. It appears as though the PUID is being passed properly but the PGID might not be.
Here is my compose file:
My server has my personal user at 1000:1000 and this valheim user at 1001:1001
if I do docker-compose up (with or without --build) it starts to launch but I get lots of permission denied errors:
If I run this, with my valheim (1001:1001) user without any PUID or PGID args it creates a structure where the directory and files are all 1000:1000 aka my regular user account owns them. BUT IT WORKS*. I just want all of these files/directories and everything to be owned by my valheim 'service' account that I created for additional security.
I think the steam user inside the container is running at 1000:1000 by default and it seems to not like it if you pass the variables.
What am I doing wrong? I am sure its something super dumb on my end, but maybe its a bug?
For what its worth I search for an answer, saw this #18 and #23 but nothing in there seemed to point me in the right direction other than it seems like it was fixed years ago?
The text was updated successfully, but these errors were encountered: