mirror of
https://github.com/factoriotools/factorio-docker.git
synced 2025-07-13 04:25:22 +02:00
take ownership of /opt/factorio/temp
This commit is contained in:
@ -47,7 +47,9 @@ fi
|
||||
if [ "$(id -u)" = '0' ]; then
|
||||
# Take ownership of factorio data if running as root
|
||||
chown -R factorio:factorio $FACTORIO_VOL
|
||||
# We want to drop to the factorio user
|
||||
# Make sure we own temp
|
||||
chown -R factorio:factorio /opt/factorio/temp
|
||||
# Drop to the factorio user
|
||||
SU_EXEC="su-exec factorio"
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user