Re: Unhappy git in a jailshell?
- From
Dmitry Potapov <dpotapov@gmail.com>
- Date
- Nov 2, 2009, 12:47 UTC
- Message-ID
- <20091102124746.GA27126@dpotapov.dyndns.org>
- In-Reply-To
- <130714cd0911020416r6a686026q697d843f47b68692@mail.gmail.com>
On Mon, Nov 02, 2009 at 11:16:43PM +1100, Alex MDC wrote:
Show 8 quoted lines
> Hello, > > I'm trying to use git on a linux server, but unfortunately I've only > been granted jailshelled access. Most of git works, but some commands > just fail to run, e.g. > git repack > git rebase > git index-pack
Most Git commands are builtin, so they are executed by git.exe directly, but some commands are implemented as separate binaries or shell files. These commands require `git --exec-path` in PATH to run. Normally, git adds `git --exec-path` in its environment before running them.
Apparently, jailshelled access prevents that somehow. So, I suggest you contact your system administrator and tell him that you need to be able to run files from `git --exec-path` to being able to use git, as git needs them internally for normal work.
Dmitry