Git failed with a fatal error. error: open permission denied fatal: unable to process path

git
15,078

Solution 1

Have a look here for details on this behaviour: https://stackoverflow.com/a/39456723/9776462

To make sure jfm-files are not handeled by git anymore, do the following:

  • Add "*.jfm" to .gitignore
  • make sure, git does not already track the jfm-file. If it already tracks, remove it with git rm <jfm-file> (you probably have to close Visual Studio for git rm to work)
  • remove the file from any remote branches/repos and resync

Solution 2

*.jfm file is used when the project is opened. So, unload the project to commit the file. But, it would be better to remove the *.jfm files from repository as n00ne explained.

Share:
15,078
Milos Todosijevic
Author by

Milos Todosijevic

Updated on June 09, 2022

Comments

  • Milos Todosijevic
    Milos Todosijevic almost 2 years

    I have problem when I want to commit changes to my tabular model. I got the following error: Git failed with a fatal error. error: open("Application/Source/'texthere'/'texthere'.jfm"): Permission denied fatal: Unable to process path Application/Source/'texthere'/'texthere.jfm

    I've opened .gitignore file and there is *.jfm extension included.

    I was trying to find something online but without success.

  • Kuleris
    Kuleris over 2 years
    same problem was with database project in VS2019 (cannot open *.dbmdl file, permission denied) - thank you for solution!