"Access is denied" on autosave

Bugs that we were not able to reproduce, and/or are waiting for more detailed info.
Gammro
Filter Inserter
Filter Inserter
Posts: 361
Joined: Wed Oct 09, 2013 1:45 pm
Contact:

"Access is denied" on autosave

Post 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 :P

I'll report again if I find more.
Ignore this
User avatar
Dysoch
Filter Inserter
Filter Inserter
Posts: 445
Joined: Fri Oct 18, 2013 2:27 pm
Contact:

Re: "Access is denied" on autosave

Post 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 :P

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.
Creator of:
- DyTech
- DyWorld
- DyWorld-Dynamics
- DyWorld-Dynamics 2
Active since Factorio 0.6
SilverWarior
Filter Inserter
Filter Inserter
Posts: 559
Joined: Mon Mar 04, 2013 9:23 am
Contact:

Re: "Access is denied" on autosave

Post 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.
kovarex
Factorio Staff
Factorio Staff
Posts: 8207
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: "Access is denied" on autosave

Post by kovarex »

I recommend moving the folder as well, I move this topic to pending, until we got more info.
Post Reply

Return to “Pending”