From: Joakim Tjernlund <joakim.tjernlund@transmode.se>
To: "git@vger.kernel.org" <git@vger.kernel.org>
Subject: Re: Unable to create temporary file '/var/git/tmv3-target-overlay.git/shallow_Un8ZOR': Permission denied
Date: Mon, 31 Aug 2015 09:03:51 +0000 [thread overview]
Message-ID: <1441011831.3349.150.camel@transmode.se> (raw)
In-Reply-To: <1440157845.1759.85.camel@transmode.se>
On Fri, 2015-08-21 at 13:50 +0200, Joakim Tjernlund wrote:
> On Fri, 2015-08-21 at 13:36 +0200, Joakim Tjernlund wrote:
> > I cannot push:
> > # > git push origin
> > Login for jocke@git.transmode.se
> > Password:
> > Counting objects: 7, done.
> > Delta compression using up to 4 threads.
> > Compressing objects: 100% (7/7), done.
> > Writing objects: 100% (7/7), 13.73 KiB | 0 bytes/s, done.
> > Total 7 (delta 4), reused 0 (delta 0)
> > fatal: Unable to create temporary file '/var/git/tmv3-target-overlay.git/shallow_Un8ZOR': Permission
> > denied
> > fatal: The remote end hung up unexpectedly
> > fatal: The remote end hung up unexpectedly
> > cu-km022 tmv3-target-overlay # ls -l
> > total 0
> > drwxr-xr-x 1 root root 72 Aug 19 17:59 ./
> > drwxr-xr-x 1 root root 38 Aug 19 17:59 ../
> > drwxr-xr-x 1 root root 216 Aug 21 13:07 .git/
> > drwxr-xr-x 1 root root 22 Aug 19 17:59 metadata/
> > drwxr-xr-x 1 root root 58 Aug 19 18:27 profiles/
> > drwxr-xr-x 1 root root 74 Aug 19 17:59 sys-apps/
> > drwxr-xr-x 1 root root 42 Aug 19 17:59 sys-libs/
> >
> > On server I have:
> > # >ls -la
> > total 24
> > dr-xr-sr-x 6 apache tm-3000 123 Jun 10 15:25 .
> > drwxr-xr-x 36 root root 4096 Jun 25 11:11 ..
> > -r--r--r-- 1 root tm-3000 263 Jun 10 15:18 config
> > -r--r--r-- 1 apache tm-3000 73 Jun 10 15:18 description
> > -rw-r--r-- 1 root tm-3000 0 Jun 10 15:25 git-daemon-export-ok
> > -r--r--r-- 1 apache tm-3000 23 Jun 10 15:18 HEAD
> > drwxr-sr-x 2 root tm-3000 4096 Jun 10 15:18 hooks
> > drwxrwsr-x 2 apache tm-3000 20 Jun 10 15:18 info
> > drwxrwsr-x 135 apache tm-3000 4096 Aug 20 19:07 objects
> > drwxrwsr-x 4 apache tm-3000 29 Jun 10 15:18 refs
> >
> >
> > I suspect this is because no one is allowed to write the repos top dir.
> > It would be much better if git allowed a tmp dir inside the repo and used that
> > for push etc.
> > Meanwhile, is there some workaround I can use?
>
> This error seems to only affect shallow clones.
> Forgot, git version 2.4.6
Ping?
Jocke
next prev parent reply other threads:[~2015-08-31 9:04 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-21 11:36 Unable to create temporary file '/var/git/tmv3-target-overlay.git/shallow_Un8ZOR': Permission denied Joakim Tjernlund
2015-08-21 11:50 ` Joakim Tjernlund
2015-08-31 9:03 ` Joakim Tjernlund [this message]
2015-08-31 9:56 ` Duy Nguyen
2015-09-14 15:37 ` Joakim Tjernlund
2015-09-17 13:18 ` Duy Nguyen
2015-09-17 16:54 ` Joakim Tjernlund
2015-09-19 2:21 ` Duy Nguyen
2015-09-19 2:26 ` Duy Nguyen
2015-09-19 7:13 ` Johannes Schindelin
2015-09-20 13:36 ` Joakim Tjernlund
2015-09-19 8:44 ` Joakim Tjernlund
2015-09-21 16:48 ` Junio C Hamano
2015-09-21 17:08 ` Joakim Tjernlund
2015-09-22 20:00 ` Johannes Schindelin
2015-09-22 20:58 ` Joakim Tjernlund
2015-09-23 11:10 ` Johannes Schindelin
2015-09-23 15:13 ` Junio C Hamano
2015-09-23 20:41 ` Joakim Tjernlund
2015-09-23 22:48 ` Johannes Schindelin
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=1441011831.3349.150.camel@transmode.se \
--to=joakim.tjernlund@transmode.se \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.