git cant add file due to permissions!
So basically I have almost everything resolved! That problem from yesterday? Solved! Which is good, but... what's that? Another permissions error! Oh boy. So basically I did git add .
, but that didn't seem to work. I got this instead:
error: open("index.html"): Permission denied
error: unable to index file 'index.html'
fatal: adding files failed
Anyone know how to fix this?
Things I tried
So I have tried a couple of things... and none of them worked.
git add --ignore-errors .
sourcechmod 777 myFolder
Voters