Bug report #21290
When Windows 10 Ransomware protection "Controlled folder access" is turned on QGIS can't save project files
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | Project Loading/Saving | ||
Affected QGIS version: | 3.4.4 | Regression?: | No |
Operating System: | Windows 10 | Easy fix?: | No |
Pull Request or Patch supplied: | No | Resolution: | invalid |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 29108 |
Description
When Windows 10 Ransomware protection "Controlled folder access" is turned on QGIS can't save project files. Further, if an existing project file is opened and a save attempted the project file will be removed from the drive resulting in data loss.
Steps to reproduce with a new project:- Turn on Windows 10 "Controlled folder access"
- Open QGIS (3.4.4)
- Project -> New
- Save, enter file name, click save -> error ""Choose a QGIS project file. [path and file name] File Not Found. Check the file name and try again."
- Dismiss error by clicking OK
- Turn off "Controlled folder access"
- Click save in the save file dialogue box -> no error project is saved.
- Turn on "Controlled folder access"
- Open QGIS (3.4.4)
- Open existing project.
- Save -> error "Unable to perform zip"
- View location of existing project and the project file is gone.
- At this point if QGIS is shutdown data loss will occur as the previously existing project file is gone.
- Turn off "Controlled folder access"
- Save -> no error and project is saved and project file exists again.
History
#1 Updated by Conan Webb almost 6 years ago
It seems this Windows 10 feature is causing issues with other software as well and this may be better classed as a Windows issue. However, it would be nice if QGIS could handle this more gracefully and avoid loosing the original project file or at least give a more enlightening error message. What got me is windows gave no warning that it had blocked QGIS (apparently it is supposed to), and QGIS error messages were not helpful in tracking down the problem.
#2 Updated by Giovanni Manghi almost 6 years ago
- Status changed from Open to Feedback
- Crashes QGIS or corrupts data changed from Yes to No
- Category changed from Actions to Project Loading/Saving
- Subject changed from QGIS can't save project and existing project file deleted. to When Windows 10 Ransomware protection "Controlled folder access" is turned on QGIS can't save project files
I fail to see how this could possibly be a QGIS issue.
#3 Updated by Andreas Olsson almost 6 years ago
I have a similar issue. Windows deffender is turned off and a nother security program is used,
"Trend Micro Security Agent".
Error message: "Unable to save project C:\*****" -> "Uable to save auxiliary storage ('Cannot open C:/Users/****/AppData/Local/Temp/QGIS3-pbvmYI/*****.qgd for input')"
#4 Updated by Giovanni Manghi almost 6 years ago
- Status changed from Feedback to Closed
- Resolution set to invalid
Conan Webb wrote:
It seems this Windows 10 feature is causing issues with other software as well and this may be better classed as a Windows issue.
agree