PwnAdventure3 icon indicating copy to clipboard operation
PwnAdventure3 copied to clipboard

Give write access to server creds for pwn3

Open videlanicolas opened this issue 6 years ago • 1 comments

masterserver.sh writes the new server creds to this folder. This is being called as user pwn3 inside the container and there is no check that the user pwn3 has write access to this file. This makes sure that the permission is granted.

videlanicolas avatar Jun 23 '18 12:06 videlanicolas

This issue occurs for me as well, and I believe approving the pull request will fix it.

For me, I fixed my container with:

docker exec -it $CONTAINER bash
chown -R pwn3:pwn3 /opt/pwn3

I added a sleep 60 to the end of gameserver.sh to keep the container alive after the SIGSEGV so that I could fix the permissions.

mattypiper avatar Sep 20 '18 22:09 mattypiper