Issue with permissions and saving with v12

Ja
Jane Davis
Posts: 5
Joined: Thu Mar 30, 2017 12:17 pm
Platform: Windows

Thu Nov 26, 2020 9:33 am Post

After installing the latest release, the first time Scrivener attempted autosave it froze, and eventually gave me an error message: (I can't work out how to post a screenshot here - extracts of it below)
Could not save project document 'Arrival'
Failed saving text for ...
Error: 'Could not open file for writing'
Error: 'Access is denied'
Then some tips that appeared to think I was out of storage space.

After restarting and trying again, this time I also got a message from my Avast virus protection, saying it had blocked access from Scrivener to a protected Dropbox file. It gave me the option of allowing access, and it seemed to work fine after that.

So I've solved the problem, BUT this has nev er happened on previous upgrades.

User avatar
devinganger
Posts: 2438
Joined: Sat Nov 06, 2010 1:55 pm
Platform: Mac, Win + iOS
Location: Monroe, WA 98272
Contact:

Thu Nov 26, 2020 12:26 pm Post

Jane Davis wrote:After restarting and trying again, this time I also got a message from my Avast virus protection, saying it had blocked access from Scrivener to a protected Dropbox file. It gave me the option of allowing access, and it seemed to work fine after that.


Avast and other third-party anti-virus scanners have the potential to create this problem, as they can get over-zealous and attempt to inspect every attempt at disk access -- and it can seem very random when they decide a given interaction is problematic or not.

One of the easiest ways to avoid this issue is to make use of your antivirus software's "whitelist" capability (most of them that do realtime file and process scanning like this also have this feature) where you can add the Scrivener executable to a list of programs that Avast knows not to try to scan file access to. This can help you avoid this and other potential problems.
--
Devin L. Ganger
Not a L&L employee; opinions are those of my cat
Life has a way of moving you past wants and hopes

An
AndrewHarvey
Posts: 68
Joined: Sun Apr 20, 2014 1:14 am
Platform: Windows

Thu Nov 26, 2020 12:41 pm Post

Same with me, but Avast at least put up its normal warning that it does in situation to let me know that it had blocked Scrivener. All good now.
Writer and Publisher of SF & Fantasy
Platforms: Windows and Android
http://www.haguepublishing.com
http://www.andrewjharvey.com

User avatar
tiho_d
Posts: 1424
Joined: Tue Sep 13, 2011 1:14 pm
Platform: Linux + Windows

Thu Nov 26, 2020 4:28 pm Post

Have in mind that many antivirus apps, flag new installers which have never been seen and reported as safe from the antivirus app community. Best thing to do is white list the newly downloaded installer and the installed Scrivener folder.

Il
Ilvedia
Posts: 7
Joined: Sun Nov 04, 2018 1:36 pm
Platform: Windows

Thu Nov 26, 2020 6:10 pm Post

Hello,

I have the same issue.
I don't have issue with Avast or other antivirus, only the message to save my project.

I tried to create a new project as it is proposed, but it does not work. Even after a reboot of the pc.
Attachments
Capture.PNG
Capture.PNG (30.58 KiB) Viewed 199 times

Ro
RoseALacroix
Posts: 3
Joined: Fri Nov 27, 2020 5:43 pm
Platform: Windows

Fri Nov 27, 2020 5:50 pm Post

Hi!

I have exactly the same problem. Has anyone been able to fix it?

Capture.PNG
Capture.PNG (41.8 KiB) Viewed 143 times

Mi
Miik
Posts: 99
Joined: Tue Dec 11, 2018 9:21 pm
Platform: Windows

Sun Nov 29, 2020 4:41 pm Post

I fixed it by allowing the app (Scrivener 3) in Avast. I had my Avast set to silent mode to not deal with the pop up for the daily scan. Silent mode caused Avast to not notify me when it blocked Scrivener. I turned off Avast when reinstalling RC12 and testing whether it would save a document. (Here is another thread dealing with the same issue: viewtopic.php?f=57&t=64146) It worked properly, so once I enabled Avast again, I went to the main Status page in Avast. I selected Menu, Settings, Blocked & Allowed Apps, and added Scrivener.exe to the allowed list:
Avast Allow App.jpg
Avast Allow App.jpg (82.61 KiB) Viewed 97 times


Thanks for the help, Devin. For those with the problem but not using Avast, I'd guess you need to add Scrivener.exe to the white list as mentioned above.

Compile still failed, so I had to add aspose.exe to the allowed list for that to work. There are other .exe files in the Scrivener folder and subfolders, so I'll leave silent mode off to see any other blocking notices.

I don't understand why RC12 triggers these ransomware blocks when none of the other betas or RCs did, but as long as I can get it working, that's for someone else to figure out.

Miik