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

Unhappy git in a jailshell?

From
AMAlex MDC <alex.mdc@gmail.com>
Date
Nov 2, 2009, 12:16 UTC
Message-ID
<130714cd0911020416r6a686026q697d843f47b68692@mail.gmail.com>
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

All these commands fail with the error "git: git-xxx is not a git-command. See git --help". However most other every-day commands work just fine (add, status, commit...)

I've been in contact with the server admins and they kindly upgraded git to the latest 1.6.5.2 release but that didn't help. I enquired about the contents of `git --exec-path` (as I don't have access from the jailshell) and they said that all the "missing" commands are present in that directory.

I also tried "git --help -all" but that doesn't show any commands in the output! In a way I'm wondering how it is working at all...

So I guess my question is, why are some commands working but not others? If all commands are treated uniformly by using the command binary from the libexec dir it would seem as though all commands should work or all should be "missing".

Also, are they any ideas on how to get the missing commands to work?

Thanks for your help, Alex MDC

Next: Dmitry Potapov
Message 1 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.