Page 1 of 1

[1.1.90] --dump-data command line parameter - Permission denied

Posted: Tue Sep 12, 2023 1:46 pm
by seky16
I ran

Code: Select all

.\factorio.exe --dump-data
in an elevated powershell and it produced following error:

Code: Select all

Error when opening C:\temp\Factorio\script-output\mod-settings-dump.json for writing: Permission denied
What happened was it tried to create folders instead of files in script-output:
Image

When I created the files manually it correctly wrote the dump inside them.
Image

I can reproduce this by deleting the files inside script-output

related: viewtopic.php?f=11&t=108259

Re: [1.1.90] --dump-data command line parameter - Permission denied

Posted: Tue Sep 12, 2023 2:41 pm
by Rseding91
Well, that's embarrassing. Thanks for the report. It's fixed for real this time for the next release.