error: insufficient permission
Hi,
may please somebody help me with the following issue. I try to checkin changes to a repository I created. Seems like I have some permission problems, but I can't figure out whats going wrong:
$ git commit -m 'test' Created commit 07b3a4a: test 1 files changed, 1 insertions(+), 1 deletions(-) $ git push Counting objects: 8, done. Compressing objects: 100% (6/6), done. Writing objects: 100% (6/6), 1.56 KiB, done. Total 6 (delta 4), reused 0 (delta 0) error: insufficient permission for adding an object to repository database ./objects
fatal: failed to write object
error: unpack failed: unpacker exited with error code To /homes/[...]
! [remote rejected] master -> master (n/a (unpacker error))
error: failed to push some refs to '/homes/[...]'
Thanks,
Dominic
Signature · 9 lines
Dominic Rose Professur für Bioinformatik Institut für Informatik Universität Leipzig Härtelstr. 16-18 D-04107 Leipzig WWW http://www.bioinf.uni-leipzig.de Phone: +49 341 97-16698 Fax: +49 341 97-16679
Quoted 17 lines · Dominic Rose
Hi,
may please somebody help me with the following issue. I try to checkin changes to a repository I created. Seems like I have some permission problems, but I can't figure out whats going wrong:
$ git commit -m 'test' Created commit 07b3a4a: test 1 files changed, 1 insertions(+), 1 deletions(-) $ git push Counting objects: 8, done. Compressing objects: 100% (6/6), done. Writing objects: 100% (6/6), 1.56 KiB, done. Total 6 (delta 4), reused 0 (delta 0) error: insufficient permission for adding an object to repository database ./objects
Quoted 5 lines
fatal: failed to write object
error: unpack failed: unpacker exited with error code To /homes/[...]
! [remote rejected] master -> master (n/a (unpacker error))
error: failed to push some refs to '/homes/[...]'
That's a filesystem permissions problem on the server side. You'll have to check if your user has permissions to write to the objects subdir of the repository.
Signature · 2 lines
Luciano Rocha <[email protected]> Eurotux Informática, S.A. <http://www.eurotux.com/>
Quoted 8 lines · Dominic Rose
error: insufficient permission for adding an object to repository database ./objects
fatal: failed to write object
error: unpack failed: unpacker exited with error code To /homes/[...]
! [remote rejected] master -> master (n/a (unpacker error))
error: failed to push some refs to '/homes/[...]'
Make sure you have permission to create new files and directories in /homes/[...]/objects and that you have permission to create new files in all directories that are already in /homes/[...]/objects.
-- Hannes
Very simple.. just find out .git directory give 0777 permission to objects dir.. such as..
chmod -R 0777 objects
--
View this message in context: http://git.661346.n2.nabble.com/error-insufficient-permission-tp3683868p7099986.html
Sent from the git mailing list archive at Nabble.com.