mirror of
https://github.com/factoriotools/factorio-docker.git
synced 2024-11-10 12:47:24 +01:00
make sure /opt/factorio/temp exists
This commit is contained in:
parent
6fece0c9e3
commit
d5ac333364
@ -48,6 +48,7 @@ if [ "$(id -u)" = '0' ]; then
|
||||
# Take ownership of factorio data if running as root
|
||||
chown -R factorio:factorio $FACTORIO_VOL
|
||||
# Make sure we own temp
|
||||
mkdir -p /opt/factorio/temp
|
||||
chown -R factorio:factorio /opt/factorio/temp
|
||||
# Drop to the factorio user
|
||||
SU_EXEC="su-exec factorio"
|
||||
|
Loading…
Reference in New Issue
Block a user