git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: Matthieu Moy <Matthieu.Moy@grenoble-inp.fr>
Cc: git@vger.kernel.org
Subject: Re: Setting up a Git server (+ gitweb) with .htaccess files HOWTO
Date: Mon, 13 Feb 2012 11:10:56 -0800	[thread overview]
Message-ID: <7v1upyft1b.fsf@alter.siamese.dyndns.org> (raw)
In-Reply-To: <vpqbop266ak.fsf@bauges.imag.fr> (Matthieu Moy's message of "Mon, 13 Feb 2012 17:34:43 +0100")

Matthieu Moy <Matthieu.Moy@grenoble-inp.fr> writes:

> I've set up a Git server on a machine on which I have a webspace,
> permission to run CGI scripts, but no shell or root access. Good news:
> it worked :-).
>
> I've documented the process here in case anyone's interested:
>
>   http://www-verimag.imag.fr/~moy/?Host-a-Git-repository-over-HTTP-S

After seeing the section that runs "git init" in a throw-away CGI script,
I started wondering what the point of this site in forbidding a shell
access in the first place.

After all, if you changed that example with a script that feeds its input
to a shell, you would have enough "shell access" to do anything you need.

So...

Well, my reaction at this point was "why bother?", but then I realized
that that reaction is meant for the administrator of that hosting site,
not a user of that site, i.e. you.

Thanks for an amusing read, anyway.

  reply	other threads:[~2012-02-13 19:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-13 16:34 Setting up a Git server (+ gitweb) with .htaccess files HOWTO Matthieu Moy
2012-02-13 19:10 ` Junio C Hamano [this message]
2012-02-14  8:59   ` Matthieu Moy

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=7v1upyft1b.fsf@alter.siamese.dyndns.org \
    --to=gitster@pobox.com \
    --cc=Matthieu.Moy@grenoble-inp.fr \
    --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).