[Gambas-user] gits new security feature "unsafe repository"

Bruce Steers bsteers4 at gmail.com
Tue Jul 12 11:52:52 CEST 2022


As of git 2.35.2 a new security feature means you have to add all your
local git paths as safe paths.
Or you now get this message...




*fatal: unsafe repository
('/media/bonus/SSDiskspace/git/gambaslatestupdate' is owned by someone
else)To add an exception for this directory, call: git config --global
--add safe.directory /media/bonus/SSDiskspace/git/gambaslatestupdate*

This has happened to ALL my local folders and i've had to add them manually.
But this also stops Version Control working and no version control options
show in the IDE unless you add the path first.

Was thinking it'd be cool if the IDE detected this error and offered to run
the command to add the path for you.

Respects
BruceS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20220712/4834c62b/attachment.htm>


More information about the User mailing list