LiveOverflow / PwnAdventure3

PwnAdventure3 Server
GNU General Public License v3.0
631 stars 134 forks source link

Update for fresh debian install #7

Closed prockallsyms closed 6 years ago

prockallsyms commented 6 years ago

If docker-compose is installed correctly, then the following setup should correct the failure in the startup of the game server. Simply run docker-compose under sudo to give the file permissions to edit the /opt directory.

EDIT: Also, I have no idea how this will affect the installation on other OSs as I haven't tested it yet.

LiveOverflow commented 6 years ago

I think the issue for you has to be somewhere else.

Simply run docker-compose under sudo to give the file permissions to edit the /opt directory.

docker-compose doesn't really access /opt because this directory is used inside the container. /opt/pwn3 inside the container is bound to the relative folder with the unpacked file on the host system. The scripts are running inside it and there should be no reason why they need root.

Let's debug this in an issue before merging this.