Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2015 & Git error: open("somefile.VC.opendb"): Permission denied fatal: Unable to process path myfile.VC.opendb

Setup:

  • Windows 10
  • Visual Studio 2015 with update
  • Running in Administrator mode

I cannot commit my changes using Visual Studio 2015 because the commit option does not appear.

When I go to the source folder and try to commit from there, I have n changed files and so I click "Stage Changed" which brings up a dialogue "Stage n untracked files?", to which I click "Yes".

I am then presented with a failure error:

error: open("myfile.VC.opendb"): Permission denied fatal: Unable to process path myfile.VC.opendb

Where myfile is just the name of some arbitrary file.

However, if I close the solution and then try commit from the folder, it all works as intended...

What is going on here? I have all the updates.

like image 942
pookie Avatar asked Jan 24 '16 11:01

pookie


1 Answers

The .opendb file was added in Visual Studio 2015 update 1, but was not added to the default .gitignore file until after the release of update 1.

You can use the updated version, found here, the .opendb extension was added on Dec 1 2015:

enter image description here

like image 159
jessehouwing Avatar answered Nov 03 '22 00:11

jessehouwing