I'm trying to push a few minor updates to my file, mchat.php, using Gitolite. Unfortunately, every time I push the files to the server and execute git checkout -f, I receive:

error: unable to unlink old 'mchat.php' (Permission denied)

The file is owned by my user, git; the repository is owned by my user, git; and the permissions are 644. What's with the

link|improve this question

75% accept rate
have you checked selinux – topdog Oct 30 '10 at 8:06
I've never heard of it – Gio Borje Oct 30 '10 at 15:04
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.