On Monday, September 18, 2017 at 7:51:44 AM UTC-5, Karthick wrote: > Hello folks, > > I have Gvim 8.0 installed on a Windows 10 machine. Sometime in the > last few days, looks like there was an OS update that changed how > files in the 'Documents' folder are handled. > > This is what I see now: > a. Editing files in, say C:\Windows\Temp\temp.txt works fine. > Similarly many other folders in C:\ work perfectly fine as well. > b. However, as far as I can see, ALL files in my 'Documents' are not > editable by gvim. The files open in readonly mode and trying to :w! > reports E212: Can't open file for writing.
Perhaps it's because of the new-ish Windows 10 feature called "Controlled Folders", which prevents apps not on a whitelist from accessing your documents folder. This is intended as a ransomware protection feature. There's supposed to be a way to add apps to the whitelist, but Microsoft apps (and probably a few other common apps) are included by default. -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
