git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alex MDC <alex.mdc@gmail.com>
To: git@vger.kernel.org
Subject: Unhappy git in a jailshell?
Date: Mon, 2 Nov 2009 23:16:43 +1100	[thread overview]
Message-ID: <130714cd0911020416r6a686026q697d843f47b68692@mail.gmail.com> (raw)

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

             reply	other threads:[~2009-11-02 12:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-02 12:16 Alex MDC [this message]
2009-11-02 12:47 ` Unhappy git in a jailshell? Dmitry Potapov
2009-11-02 13:51   ` Michael J Gruber
2009-11-04  1:17     ` Alex MDC

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=130714cd0911020416r6a686026q697d843f47b68692@mail.gmail.com \
    --to=alex.mdc@gmail.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).