PBR

Comment 2 for bug 1675459

Revision history for this message
serenico (federico-ressi) wrote :

I just found a similar issue. On my case the failure is because I am installing a python package from folder as root, but the local folder (a git repo) is owned by my regular user.

Below fails:
 sudo pip install -e .

Below doesn't fails:
 pip install -e .

The root cause of the problem looks like related with the fix of following security fix:
 https://launchpad.net/bugs/cve/CVE-2022-24765

The workaround for this issue for has been executing below command first:
 sudo git config --global --add safe.directory /path/to/my/directory