I have created a bare repository on a rackspace server. The repositories 
are stored under /home/git/. When I attempt a PUSH (my first) I get the 
following error message

sridhar@sridhar-Aspire-5745:~/SASTRA-Sridhar/TNCA$ git push origin master
g...@git.sastratechnologies.net's password: 
Counting objects: 183, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (176/176), done.
Writing objects: 100% (183/183), 309.58 KiB, done.
Total 183 (delta 94), reused 0 (delta 0)
*fatal: Unable to create temporary file: Permission denied*
*error: unpack failed: index-pack abnormal exit
*To g...@git.sastratechnologies.net:/home/git/TNCA.git
 ! [remote rejected] master -> master (n/a (unpacker error))
*error: failed to push some refs to 
'g...@git.sastratechnologies.net:/home/git/TNCA.git'

*My bare repository structure on the rackspace server has the following 
permissions (the bare repository was copied onto the server using scp and 
while logged in as root)
drwxrwxr-x   2 root root 4096 2012-06-18 10:48 branches
-rw-r--r--   1 root root  125 2012-06-21 09:54 config
-rw-r--r--   1 root root   73 2012-06-18 10:44 description
-rw-r--r--   1 root root   23 2012-06-18 10:48 HEAD
drwxrwxr-x   2 root root 4096 2012-06-21 09:54 hooks
drwxrwxr-x   2 root root 4096 2012-06-18 10:48 info
drwxrwxr-x 128 root root 4096 2012-06-18 10:48 objects
drwxrwxr-x   4 root root 4096 2012-06-18 10:48 refs

I am not sure which directory GIT is complaining about. I am also unsure if 
changing the ownership from root to 'git' user will solve it. Would 
appreciate any help that would resolve this.

Best regards,

Sridhar

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/git-users/-/9Rp6S6ZF4_EJ.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.

Reply via email to