From eea1d550f2911d60e7a8b3bd91faec94183c00e3 Mon Sep 17 00:00:00 2001 From: Dan Anstis Date: Sun, 21 Apr 2019 20:15:01 +1000 Subject: [PATCH] Fix conflicting user group ids (#232) --- 0.17/files/docker-entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/0.17/files/docker-entrypoint.sh b/0.17/files/docker-entrypoint.sh index d2550a7..2b4d931 100755 --- a/0.17/files/docker-entrypoint.sh +++ b/0.17/files/docker-entrypoint.sh @@ -36,8 +36,8 @@ fi if [ "$(id -u)" = '0' ]; then # Update the User and Group ID based on the PUID/PGID variables - usermod -u $PUID factorio - groupmod -g $PGID factorio + usermod -o -u $PUID factorio + groupmod -o -g $PGID factorio # Take ownership of factorio data if running as root chown -R factorio:factorio $FACTORIO_VOL # Make sure we own temp