git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Schweikle <tschweikle@gmail.com>
To: git@vger.kernel.org
Subject: Cant clone/pull/fetch because of "Unable to create temporary file '$HOME/Dev/linux-stable/.git/objects/pack/tmp_pack_'
Date: Mon, 15 May 2017 00:28:58 +0200	[thread overview]
Message-ID: <cf9ce8e9-a358-4fdf-aa7c-a8ab76b6429a@gmail.com> (raw)

$ git clone
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
linux-stable
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
denied
fatal: index-pack failed

Since no file/directory created by git I cant tell why git isn't
able to create
"$HOME/Dev/linux-stable/.git/objects/pack/tmp_pack_XXXXXX".

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
/home/tps/Dev/linux-stable/.git/objects/pack/tmp_pack_XXXXXX
$

$ git --version
git version 2.11.0

-- 
Thomas

             reply	other threads:[~2017-05-14 22:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-14 22:28 Thomas Schweikle [this message]
2017-05-16 10:38 ` Cant clone/pull/fetch because of "Unable to create temporary file '$HOME/Dev/linux-stable/.git/objects/pack/tmp_pack_' Kevin Daudt
2017-05-16 20:26   ` Thomas Schweikle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cf9ce8e9-a358-4fdf-aa7c-a8ab76b6429a@gmail.com \
    --to=tschweikle@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).