I have been experiencing A LOT of permission issues when using VS code with Windows 10.
It doesn't work with or without admin rights.
I went to the folder containing all my repos, set the ownership to me, applied full control to all authenticated users, and it still doesn't work.
Any idea ?
EDIT: It does work sometimes, that's what make it very strange
I encountered the error message when renaming or moving files in VS Code. I then noticed that it was the same in Windows Explorer.
I develop in Angular using Angular-CLI and I execute the command ng build --watch
in a cmd.
When I stopped the watch command, that solved the issue and I was able to rename and move files in VS Code without any problem.
So I think there are some processes that hold your files. I hope this can help.