Re: Cant clone/pull/fetch because of "Unable to create temporary file '$HOME/Dev/linux-stable/.git/objects/pack/tmp_pack_'
- Date: Tue, 16 May 2017 12:38:36 +0200
- From: Kevin Daudt <me@xxxxxxxxx>
- Subject: Re: Cant clone/pull/fetch because of "Unable to create temporary file '$HOME/Dev/linux-stable/.git/objects/pack/tmp_pack_'
On Mon, May 15, 2017 at 12:28:58AM +0200, Thomas Schweikle wrote:
> $ git clone
> Cloning into 'linux-stable'...
> remote: Counting objects: 5932092, done.
> remote: Compressing objects: 100% (154131/154131), done.
> fatal: Unable to create temporary file
> '$HOME/Dev/linux-stable/.git/objects/pack/tmp_pack_XXXXXX': Permission
> fatal: index-pack failed
> Since no file/directory created by git I cant tell why git isn't
> able to create
> If I try to create this file and directory I can create it:
> $ mkdir -p $HOME/Dev/linux-stable/.git/objects/pack
> $ touch $HOME/Dev/linux-stable/.git/objects/pack/tmp_pack_XXXXXX
> $ ll $HOME/Dev/linux-stable/.git/objects/pack/tmp_pack_XXXXXX
> -rw-rw-r-x+ 1 tps tps 0 May 15 00:18
> $ git --version
> git version 2.11.0
Note the '+' at the end of the permission list. This means an acl has
been applied to this directory.
What does getfacl