Ark-docker
Ark-docker copied to clipboard
ShooterGameServer - Permission Denied
Hey guys,
I keep getting the following error:
13:03:12: Running /ark/server/ShooterGame/Binaries/Linux/ShooterGameServer TheIsland?MaxPlayers=70?Port=7777?QueryPort=27015?RCONEnabled=True?RCONPort=32330?ServerAdminPassword=test123?ServerPassword=test?SessionName=Test?listen -log /usr/local/bin/arkmanager: line 663: /ark/server/ShooterGame/Binaries/Linux/ShooterGameServer: Permission denied 13:03:12: Server PID: 201 13:03:17: Bad PID ''; expected '201' 13:03:17: exited with status 0
The permission do look good to me:
root@36d743637e8c:/ark# ls -l /ark/server/ShooterGame/Binaries/Linux/ total 87528 drwxrwxr-x 2 steam steam 4096 Oct 2 12:59 BattlEye -rwxrwxr-x 1 steam steam 70611248 Oct 2 12:58 ShooterGameServer -rwxrwxr-x 1 steam steam 6 Oct 2 12:58 steam_appid.txt -rwxrwxr-x 1 steam steam 19003205 Oct 2 12:58 steamclient.so root@36d743637e8c:/ark#
Any ideas how to fix this?
thanks,
Denqbar
Hello Denqbar,
error is caused from the mount point where the ARK files are stored.
If you located your docker files in a mount like /mnt/arkserver with the mount option noexec, every file in this mount stays non executable, even if tryed to be executed in the docker container!
simply do a mount -O remount,exec /path/to/mount/point and the problem should be fixxed