Actions
Bug #5204
closedinstall.sh: "unsafe repository" error
Start date:
05/09/2022
Due date:
% Done:
100%
Estimated time:
Description
Can't install Mini-NDN due to the following issue.
.../ndn-src/mini-ndn/dl/mininet-wifi ../ndn-src/mini-ndn/dl/mininet-wifi
fatal: unsafe repository ('../ndn-src/mini-ndn/dl/mininet-wifi' is owned by someone else)
To add an exception for this directory, call:
git config --global --add safe.directory ../ndn-src/mini-ndn/dl/mininet-wifi
running git config --global --add safe.directory ../ndn-src/mini-ndn/dl/mininet-wifi
this command doesn't solves the problem.
Updated by Saurab Dulal almost 3 years ago
Saurab Dulal wrote:
Can't install Mini-NDN due to the following issue.
.../ndn-src/mini-ndn/dl/mininet-wifi ../ndn-src/mini-ndn/dl/mininet-wifi fatal: unsafe repository ('../ndn-src/mini-ndn/dl/mininet-wifi' is owned by someone else) To add an exception for this directory, call: git config --global --add safe.directory ../ndn-src/mini-ndn/dl/mininet-wifi
running
git config --global --add safe.directory ../ndn-src/mini-ndn/dl/mininet-wifi
this command doesn't solves the problem.
A quick fix,
sudo git config --global --add safe.directory '*' -- if you trust every folder.
else
sudo git config --global --add safe.directory /folder/name
Updated by Junxiao Shi almost 3 years ago
- Related to Bug #5205: sudo ./waf install: unsafe repository added
Updated by Davide Pesavento almost 3 years ago
What git command triggers the error? I suppose it's being run as the root user? Why?
Updated by Junxiao Shi over 2 years ago
- Tracker changed from Task to Bug
- Subject changed from Issues with Mini-NDN installation to install.sh: "unsafe repository" error
- Status changed from New to In Progress
- Assignee set to Junxiao Shi
- % Done changed from 0 to 50
Updated by Junxiao Shi about 2 years ago
- Status changed from In Progress to Closed
- % Done changed from 50 to 100
Actions