Dedicated server crash with read-only binary directory
Posted: Fri Jun 09, 2017 6:14 pm
If the factorio directory is read-only, then this happens:
I'm not sure what it's attempting to lock, but can I suggest putting the lock file in ~/.factorio? If you are in fact locking the binaries, then I'd note that a read-only binary directory is as good as locked, and the test can be bypassed.
Code: Select all
svein@madoka> ls -ld server
dr-xr-xr-x 4 svein users 5 Jan 1 1970 server
svein@madoka> ./start.sh
Using terracognito.zip
+ rm -f console.log
+ server/bin/x64/factorio --start-server terracognito.zip --mod-directory mods --server-settings server-settings.json --rcon-port=27015 --rcon-password=[ELIDED] --console-log=console.log
0.000 Error Util.cpp:62: Couldn't create lock file /home/svein/factorio/server/.lock: Permission denied.