git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Marco Nelissen <marcone@xs4all.nl>
To: git@vger.kernel.org
Subject: Re: running git as root
Date: Sat, 13 Jun 2009 18:42:44 -0700	[thread overview]
Message-ID: <3a3d9e520906131842j6754bda1yaf6ecb2b24320260@mail.gmail.com> (raw)
In-Reply-To: <4A33C8D2.5080808@drmicha.warpmail.net>

On Sat, Jun 13, 2009 at 8:42 AM, Michael J
Gruber<git@drmicha.warpmail.net> wrote:
> Marco Nelissen venit, vidit, dixit 13.06.2009 17:25:
>> When running as root, git fails a number of test cases that expect it
>> to fail on read-only repositories (for example 't0004-unwritable.sh').
>> I was thinking of either changing the code so that it checks
>> permissions itself when opening files as root, or add a prerequisite
>> to those test cases so that they are skipped when running as root.
>> What would be the preferred way?
>
> The preferred ways is to build git as non-root user. This is true even
> more so for running the test suite.

This is not possible on BeOS, where there is only one user, and it is
the super user.

  reply	other threads:[~2009-06-14  1:43 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-13 15:25 running git as root Marco Nelissen
2009-06-13 15:42 ` Michael J Gruber
2009-06-14  1:42   ` Marco Nelissen [this message]
2009-06-13 17:49 ` Alex Riesen
2009-06-14  1:41   ` Marco Nelissen
2009-06-14  6:08   ` Nanako Shiraishi
2009-06-14 21:40     ` Marco Nelissen

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=3a3d9e520906131842j6754bda1yaf6ecb2b24320260@mail.gmail.com \
    --to=marcone@xs4all.nl \
    --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).