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

[PATCH 0/2] mingw: special-case administrators even more

From
Johannes Schindelin via GitGitGadget <gitgitgadget@gmail.com>
Date
Mar 25, 2025, 10:38 UTC
Message-ID
<pull.1893.git.1742899110.gitgitgadget@gmail.com>

On Windows, a file created by a process running in elevated mode is owned by the Administrators group (not by the user's account who would otherwise be able to modify or delete the file in non-elevated mode). Let's adjust the "safe directory" feature accordingly.

Naturally, this patch series does not add a regression test (because it can't, you cannot automate elevating processes).

This patch series is a companion of https://github.com/microsoft/git/pull/712.

Johannes Schindelin (2):
  mingw: special-case administrators even more
  test-tool path-utils: support debugging "dubious ownership" issues
 compat/mingw.c             | 39 +++++++++++++++++++++++++++-----------
 t/helper/test-path-utils.c | 19 +++++++++++++++++++
 2 files changed, 47 insertions(+), 11 deletions(-)
base-commit: 683c54c999c301c2cd6f715c411407c413b1d84e
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-1893%2Fdscho%2Fadmins-are-admins-on-windows-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-1893/dscho/admins-are-admins-on-windows-v1
Pull-Request: https://github.com/gitgitgadget/git/pull/1893
-- 
gitgitgadget
Next: Johannes Schindelin via GitGitGadget
Message 1 of 3 in “mingw: special-case administrators even more”
  1. 0/2 mingw: special-case administrators even moreJohannes Schindelin via GitGitGadget, Mar 25, 2025
  2. 1/2 mingw: special-case administrators even moreJohannes Schindelin via GitGitGadget, Mar 25, 2025
  3. 2/2 test-tool path-utils: support debugging "dubious ownership" issuesJohannes Schindelin via GitGitGadget, Mar 25, 2025

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.