git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Marco Nelissen <marcone@xs4all.nl>
To: git@vger.kernel.org
Subject: running git as root
Date: Sat, 13 Jun 2009 08:25:47 -0700	[thread overview]
Message-ID: <3a3d9e520906130825k25815c9atafde301d9fbc1da2@mail.gmail.com> (raw)

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?

             reply	other threads:[~2009-06-13 15:26 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-13 15:25 Marco Nelissen [this message]
2009-06-13 15:42 ` running git as root Michael J Gruber
2009-06-14  1:42   ` Marco Nelissen
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=3a3d9e520906130825k25815c9atafde301d9fbc1da2@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).