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

Benoit Minisini benoit.minisini at gambas-basic.org
Tue Jul 12 11:55:41 CEST 2022


Le 12/07/2022 à 11:52, Bruce Steers a écrit :
> 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
> 

What's that stupid thing?

-- 
Benoît Minisini.


More information about the User mailing list