Page 1 of 1
"Access is denied" on autosave
Posted: Wed Nov 27, 2013 8:37 pm
by Gammro
When my game autosaves, I sometimes get the following message on screen:
Code: Select all
Boost::filesystem::remove: Access is denied: "C:/Users\*username*\Dropbox\Factorio\Factorio_0.7.5\Saves\_autosave1\script.dat
- When I check the savegame folder, the only file is script.dat.
- I checked for the read-only flags, it isn't set.
Last time it happened I thought it was a fault with the files and deleted all autosave folders. Well, it happened again, as I wouldn't have written this if it didn't
I'll report again if I find more.
Re: "Access is denied" on autosave
Posted: Wed Nov 27, 2013 9:26 pm
by Dysoch
Gammro wrote:When my game autosaves, I sometimes get the following message on screen:
Code: Select all
Boost::filesystem::remove: Access is denied: "C:/Users\*username*\Dropbox\Factorio\Factorio_0.7.5\Saves\_autosave1\script.dat
- When I check the savegame folder, the only file is script.dat.
- I checked for the read-only flags, it isn't set.
Last time it happened I thought it was a fault with the files and deleted all autosave folders. Well, it happened again, as I wouldn't have written this if it didn't
I'll report again if I find more.
maybe an easy answer, have you tried moving your dropbox folder(and moving factorio with it)? to maybe C: itself (instead of Users) or even D: (if you have it)
it might not be it, but couldnt hurt to check it.
Re: "Access is denied" on autosave
Posted: Thu Nov 28, 2013 7:53 am
by SilverWarior
As Dysoch pointed out moving Factorio to some other place migt solve this. Why?
Fonlder inside C:\Users are being protected by Windows UAC (User Acount Controll) and Windows DEP (Data Execution Prevention). Both of these Windows features could prevent Factorio to work properly.
Windows UAC could block Factorio write and deletion access (preventing malicious software to make potentionally dangerous changes to varios system files in protected folders). Most folders within C:\Users folder are considered protected. Exceptions are "Local Settings\Temp" and "AppData" and its subfolders.
Windows DEP is also known of sometimes preventing proper execution of some games especially if these contain some self-debugging code.
Another thing you might check is your AntiVirus software settings as some AntiViruses coul also cause problems with certain games even thou till now I haven't seen any report of any AntiVirus making problems to Factorio.
Re: "Access is denied" on autosave
Posted: Wed Dec 04, 2013 8:32 am
by kovarex
I recommend moving the folder as well, I move this topic to pending, until we got more info.