mirror of
https://github.com/factoriotools/factorio-docker.git
synced 2025-01-12 19:27:11 +01:00
Fix conflicting user group ids (#232)
This commit is contained in:
parent
730b2c334b
commit
eea1d550f2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user