From: Alex Riesen <raa.lkml@gmail.com>
To: Marco Nelissen <marcone@xs4all.nl>
Cc: git@vger.kernel.org
Subject: Re: running git as root
Date: Sat, 13 Jun 2009 19:49:07 +0200 [thread overview]
Message-ID: <81b0412b0906131049v60cfbc9bm3fd26cc25acc2cd4@mail.gmail.com> (raw)
In-Reply-To: <3a3d9e520906130825k25815c9atafde301d9fbc1da2@mail.gmail.com>
2009/6/13 Marco Nelissen <marcone@xs4all.nl>:
> 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.
There is such a prerequisite already (POSIXPERM), but what caused
you to run the _tests_ as root?
> What would be the preferred way?
Use the prerequisite would sound right when not the
strangeness of the idea.
next prev parent reply other threads:[~2009-06-13 17:49 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
2009-06-13 17:49 ` Alex Riesen [this message]
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=81b0412b0906131049v60cfbc9bm3fd26cc25acc2cd4@mail.gmail.com \
--to=raa.lkml@gmail.com \
--cc=git@vger.kernel.org \
--cc=marcone@xs4all.nl \
/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).