Git "safe directory" not working correctly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thank you for filling out a Git bug report!
Please answer the following questions to help us understand your issue.


What did you do before the bug happened? (Steps to reproduce your issue)
Upgraded to git 2.25.1.windows.1
Now when I pull from my remote I get: fatal: detected dubious
ownership in repository at '\\bill\gitmaster\Src'
So, I ran this to whitelist everything: git config --global --add
safe.directory '*'
However, this does NOT solve the issue! I am still getting the same
'dubious ownership' error!
So... what, is this some sort of bug where UNC paths are not being
recognized as safe?? Or...?


What did you expect to happen? (Expected behavior)
Pull should succeed without security errors, since I whilelisted *


What happened instead? (Actual behavior)
git craps out with a 'detected dubious ownership' error.


What's different between what you expected and what actually happened?
I cannot pull changes from my remote!


Anything else you want to add:
Please provide a workaround.


Please review the rest of the bug report below.
You can delete any lines you don't wish to share.


[System Info]
git version:
git version 2.45.1.windows.1
cpu: x86_64
built from commit: 965b16798dab6962ada5b0d8cf0dca68f385c448
sizeof-long: 4
sizeof-size_t: 8
shell-path: /bin/sh
feature: fsmonitor--daemon
uname: Windows 10.0 19045
compiler info: gnuc: 13.2
libc info: no libc information available
$SHELL (typically, interactive shell): <unset>


[Enabled Hooks]
not run from a git repository - no hooks to show




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux