git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Git "safe directory" not working correctly
@ 2024-05-25 18:49 William Ruppel
  2024-05-25 20:22 ` William Ruppel
  0 siblings, 1 reply; 4+ messages in thread
From: William Ruppel @ 2024-05-25 18:49 UTC (permalink / raw)
  To: git

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-05-25 22:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-25 18:49 Git "safe directory" not working correctly William Ruppel
2024-05-25 20:22 ` William Ruppel
2024-05-25 21:38   ` brian m. carlson
2024-05-25 22:11     ` William Ruppel

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).