* error: insufficient permission
@ 2009-09-21 8:32 Dominic Rose
2009-09-21 8:52 ` Luciano Rocha
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Dominic Rose @ 2009-09-21 8:32 UTC (permalink / raw)
To: git
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
--
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: error: insufficient permission
2009-09-21 8:32 error: insufficient permission Dominic Rose
@ 2009-09-21 8:52 ` Luciano Rocha
2009-09-21 8:53 ` Johannes Sixt
2011-12-16 8:09 ` Manish Patel
2 siblings, 0 replies; 4+ messages in thread
From: Luciano Rocha @ 2009-09-21 8:52 UTC (permalink / raw)
To: Dominic Rose; +Cc: git
[-- Attachment #1: Type: text/plain, Size: 1146 bytes --]
On Mon, Sep 21, 2009 at 10:32:07AM +0200, Dominic Rose wrote:
> 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/[...]'
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.
--
Luciano Rocha <luciano@eurotux.com>
Eurotux Informática, S.A. <http://www.eurotux.com/>
[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: error: insufficient permission
2009-09-21 8:32 error: insufficient permission Dominic Rose
2009-09-21 8:52 ` Luciano Rocha
@ 2009-09-21 8:53 ` Johannes Sixt
2011-12-16 8:09 ` Manish Patel
2 siblings, 0 replies; 4+ messages in thread
From: Johannes Sixt @ 2009-09-21 8:53 UTC (permalink / raw)
To: Dominic Rose; +Cc: git
Dominic Rose schrieb:
> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: error: insufficient permission
2009-09-21 8:32 error: insufficient permission Dominic Rose
2009-09-21 8:52 ` Luciano Rocha
2009-09-21 8:53 ` Johannes Sixt
@ 2011-12-16 8:09 ` Manish Patel
2 siblings, 0 replies; 4+ messages in thread
From: Manish Patel @ 2011-12-16 8:09 UTC (permalink / raw)
To: git
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-12-16 8:10 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-21 8:32 error: insufficient permission Dominic Rose
2009-09-21 8:52 ` Luciano Rocha
2009-09-21 8:53 ` Johannes Sixt
2011-12-16 8:09 ` Manish Patel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).