I uploaded my project folder to GitHub so I can work on it from both my desktop and my laptop.
I did some work on the project on my laptop and pushed the latest commit to GitHub and hopped on my desktop to see if it worked.
I accidentally cloned the repository to the wrong location, but when I went to delete it to clone it to the right folder, I got a pop-up saying that I "need permission to perform this action. [I] require permission from <laptop user account> to make changes to this folder".
I'm kind of stumped.
I tried taking control of the folder through Properties, but that hasn't seemed to change anything.
If you cloned it in the wrong directory, try moving it to the right directory.
If you finished working with it and wish to delete it, then:
Goto properties>security>edit permissions and give full control to your user account and then try deleting it, if that doesn't work, check if that directory is open in any other program(my directory was open in vscode), then try deleting it should work.
Can't delete cloned git repo on my computer?