kaimallea / csgo

A containerized dedicated server for Counter-Strike: Global Offensive
The Unlicense
242 stars 58 forks source link

Fix default volume mount permissions #23

Closed kaimallea closed 4 years ago

kaimallea commented 4 years ago

Fixes #20

If /home/steam/csgo doesn't already exist when a volume is mounted, the mounted volume will default to root ownership and then the steamcmd script won't be able to write/install to it since it runs as the steam user.

This fix creates the directory right before the steam user is made owner.