When I run git add .
Then the following message:
error: open("~$myfile.pptx"): Permission denied
error: unable to index file ~$myfile.pptx
fatal: adding files failed
So I run Icacls myfile.pptx /grant user:(F,WD)
But still error.
How to change the rigth permission?
~$myfile.pptx!=myfile.pptx. One might be a temporary file with a lock? In other words, don'tgit add .but try adding only the specific file.