Steps to reproduce:
1. Symlink (or Hardlink on Windows) factorio/script-output to another directory (say, /tmp)
2. Launch new Factorio map
3. In console, execute /c game.write_file('foo', 'bar')
Error:
Code: Select all
Cannot execute command. Error: [string "game.write_file('foo', 'bar')"]:1: Scripts can only use file space inside of /home/afforess/.factorio/script-output (requested path was /home/afforess/.factorio/script-output/foo)
![Wink ;)](./images/smilies/icon_e_wink.gif)