On a bare repository, I am getting this error when I try to push the GIT changes from my local repository to the remote repository :
c:\mockema>git push origin master
Counting objects: 5, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 331 bytes, done.
Total 3 (delta 2), reused 0 (delta 0)
error: insufficient permission for adding an object to repository database ./objects
fatal: failed to write object
error: unpack failed: unpack-objects abnormal exit
To //Apps-raphael/em/MockEMA/mockema.git
! [remote rejected] master -> master (n/a (unpacker error))
error: failed to push some refs to '//Apps-raphael/em/MockEMA/mockema.git'
However, I logged into the server and went into the remote repository and tried to change(just for testing) the permission using CHMOD as " chmod -R 777 * "
But the permissions still remain as "drwxr-xr-x".
Tried to look around online for some help and most of the solution indicate using chmod to update the permission. It doesnot seem to work for me. I am using chmod incorrectly?
Thanks in anticipation.