git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Cant clone/pull/fetch because of "Unable to create temporary file '$HOME/Dev/linux-stable/.git/objects/pack/tmp_pack_'

From
TSThomas Schweikle <tschweikle@gmail.com>
Date
May 14, 2017, 22:28 UTC
Message-ID
<cf9ce8e9-a358-4fdf-aa7c-a8ab76b6429a@gmail.com>

$ 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
Next: Kevin Daudt
Message 1 of 3 in “Cant clone/pull/fetch because of "Unable to create temporary file '$HOME/Dev/linux-stable/.git/objects/pack/tmp_pack_'”
  1. Thomas SchweikleMay 14, 2017
  2. Kevin DaudtMay 16, 2017
  3. Thomas SchweikleMay 16, 2017

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.