# error: insufficient permission

4 messages from 2009-09-21 to 2011-12-16. Participants: Dominic Rose, Johannes Sixt, Luciano Rocha, Manish Patel.
Thread: https://gitlist.dev/t/21014

## Dominic Rose, 2009-09-21 08:32

Subject: error: insufficient permission
Message-ID: <4AB73A07.3020703@bioinf.uni-leipzig.de>
URL: https://gitlist.dev/e/4AB73A07.3020703%40bioinf.uni-leipzig.de

```
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

```

## Luciano Rocha, 2009-09-21 08:52

Subject: Re: error: insufficient permission
Message-ID: <20090921085221.GA4931@bit.office.eurotux.com>
URL: https://gitlist.dev/e/20090921085221.GA4931%40bit.office.eurotux.com
In-Reply-To: <4AB73A07.3020703@bioinf.uni-leipzig.de>

```
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/>

```

## Johannes Sixt, 2009-09-21 08:53

Subject: Re: error: insufficient permission
Message-ID: <4AB73EFF.50601@viscovery.net>
URL: https://gitlist.dev/e/4AB73EFF.50601%40viscovery.net
In-Reply-To: <4AB73A07.3020703@bioinf.uni-leipzig.de>

```
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

```

## Manish Patel, 2011-12-16 08:09

Subject: Re: error: insufficient permission
Message-ID: <1324022994789-7099986.post@n2.nabble.com>
URL: https://gitlist.dev/e/1324022994789-7099986.post%40n2.nabble.com
In-Reply-To: <4AB73A07.3020703@bioinf.uni-leipzig.de>

```
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.

```
