Closed
Description
Setup
- Which version of Git for Windows are you using? Is it 32-bit or 64-bit?
$ git --version --build-options
git version 2.23.0.windows.1
cpu: x86_64
built from commit: 4db2e5cc9e1522131a039cbad3970f147a39f0ce
sizeof-long: 4
sizeof-size_t: 8
- Which version of Windows are you running? Vista, 7, 8, 10? Is it 32-bit or 64-bit?
C:\Program Files\Git>cmd.exe /c ver
Microsoft Windows [version 10.0.17763.678]
- What options did you set as part of the installation? Or did you choose the
defaults?
$ cat /etc/install-options.txt
Editor Option: VIM
Custom Editor Path:
Path Option: BashOnly
SSH Option: OpenSSH
Tortoise Option: false
CURL Option: OpenSSL
CRLF Option: CRLFAlways
Bash Terminal Option: MinTTY
Performance Tweaks FSCache: Enabled
Use Credential Manager: Enabled
Enable Symlinks: Enabled
Enable Builtin Interactive Add: Disabled
- Any other interesting things about your environment that might be related
to the issue you're seeing?
My Windows 10 is a French professional OEM.
Details
- Which terminal/shell are you running Git from? e.g Bash/CMD/PowerShell/other
ConEmu, Bash (""C:\Program Files\Git\git-bash.exe" --cd-to-home")
- What commands did you run to trigger this issue? If you can provide a
Minimal, Complete, and Verifiable example
this will help us understand the issue.
$ git status
warning: 'C:\ProgramData/Git/config' has a dubious owner: 'Administrateur'.
For security reasons, it is therefore ignored.
To fix this, please transfer ownership to an admininstrator.
On branch develop
Your branch is up to date with 'origin/develop'.
nothing to commit, working tree clean
- What did you expect to occur after running these commands?
No warning about C:\ProgramData\Git\config being owned by Administrateur.
See the following screenshot: Administrateur is French word for Administrator.
Unless the check is done with "admininstrator" which raise an error in Firefox spellcheck (want me to use administrator instead).
For records, here is the SID of the Administrator account:
C:\Program Files\Git>wmic useraccount get name,sid
Name SID
Administrateur S-1-5-21-1752033801-3029444-3845327491-500
- What actually happened instead?
I've got a security warning each time I launch a git command.
- If the problem was occurring with a specific repository, can you provide the
URL to that repository to help us with testing?
No
Metadata
Metadata
Assignees
Labels
No labels