"git add". fatal error permission denied

Trying to download some files to the repo. It worked for the last repo I made, but now it doesn't work for some reason. Please help! :) Thank you :)

$ git add .
error: open("AppData/Local/Google/Chrome/User Data/Default/Application Cache/Cache/data_0"): Permission denied
error: unable to index file AppData/Local/Google/Chrome/User Data/Default/Application Cache/Cache/data_0
fatal: adding files failed

      

+3


source to share


1 answer


You might be outside of the git repo : try cd

into your repo.



If you are indeed in the correct directory, you should change chmod

your folder.

0


source







All Articles