Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

git

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.

like image 590
Milos Todosijevic Avatar asked May 11 '18 11:05

Milos Todosijevic


2 Answers

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
like image 66
n00ne Avatar answered Sep 22 '22 14:09

n00ne


*.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.

like image 30
shyambabu Avatar answered Sep 21 '22 14:09

shyambabu