So, recently Windows has decided to do some trolling on me and make it impossible to commit to my git repository
It gives me this error in git (in Cygwin):
$ git commit -a error: insufficient permission for adding an object to repository database .git/objects error: NVG510Fixer/NVG510Fixer/Resources/layout/WarningConfirmation.axml: failed to insert into database error: unable to index file NVG510Fixer/NVG510Fixer/Resources/layout/WarningConfirmation.axml fatal: updating files failed
Well... but then I go to the NVG510Fixer folder and recursively take ownership of everything in there and make sure that Everyone has full control. This seems to work, but it doesn't make the error go away.. So, I decide to go to
.git and right click on properties and take ownership(recursively) from there. At this point, it gets even more weird:
What the hell is Windows doing?! I'm an Administrator. This computer isn't even joined to a domain. How can I not access files that I could access just a few minutes ago!?