git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Problem with test from aa9c83c2

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 29, 2008, 21:36 UTC
Message-ID
<7vtzjrbg2f.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<20080229210410.GA26683@glandium.org>
Mike Hommey <mh@glandium.org> writes:
> When run as root, the test added in aa9c83c2 fails, because root is allowed
> to remove files in unreadable and unwriteable directories. Now, the
> problem is that I don't know what to do with that. Should we care ?
Of course not.  You are nuts running tests as root.

If "git foo" should refuse to remove a file for revision control reason, and it does refuse correctly for a non-root user but it fails to refuse when run as root, then that is a bug and we do care about it. IOW, I am not saying you are nuts running git as root.

Previous: Mike Hommey
Message 2 of 2 in “Problem with test from aa9c83c2”
  1. Mike HommeyFeb 29, 2008
  2. Junio C HamanoFeb 29, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.