Git push: fatal: write error: Permission denied

I read about the other questions but none of the solutions could help.

We have a git repository on Windows and a clone on a CentOS_6 Machine. I am working on a branch, so i have a local branch on Linux with the same name of the remote branch and they are linked. Infact i don’t have problems whith pull or fetch but whith the command:

git push origin NAME_BRANCH

i get the following errors:

Counting objects: 3365, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (2985/2985), done.
fatal: write error: Permission denied.00 KiB | 188 KiB/s
error: pack-objects died of signal 13.00 KiB | 130 KiB/s
error: pack-objects died with strange error
error: failed to push some refs to ‘/mnt/hgfs/GIT_REPO/NAMEREPO.git’

This is the config file:


repositoryformatversion = 0

filemode = true

bare = false

logallrefupdates = true

[remote “origin”]

fetch = +refs/heads/*:refs/remotes/origin/*
url = /mnt/hgfs/GIT_REPO/NAMEREPO.git

[branch “NAME_BRANCH”]

remote = origin

merge = refs/heads/NAME_BRANCH


wmstate = normal

geometry = 844x415+308+80 189 188

Permissions are ok and i worked until yesterday.Just today i got the error message.

Doesn anybody have any idea?

Thank you

Source: linux

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.