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

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
Previous: Alex MDCNext: Michael J Gruber
Message 2 of 4 in “Unhappy git in a jailshell?”
  1. Alex MDCNov 2, 2009
  2. Dmitry PotapovNov 2, 2009
  3. Michael J GruberNov 2, 2009
  4. Alex MDCNov 4, 2009

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.