Skip to content
This repository has been archived by the owner on Nov 7, 2022. It is now read-only.

Fatal: unsafe repository #43

Open
felipelalli opened this issue Jul 2, 2022 · 1 comment
Open

Fatal: unsafe repository #43

felipelalli opened this issue Jul 2, 2022 · 1 comment

Comments

@felipelalli
Copy link

felipelalli commented Jul 2, 2022

sudo wget https://raw.githubusercontent.com/bauerj/electrumx-installer/master/bootstrap.sh -O - | bash -s - -d /home/xpto/electrumx-db

git config --global --add safe.directory /home/xpto/.electrumx-installer
fatal: unsafe repository ('/home/xpto/.electrumx-installer' is owned by someone else)
To add an exception for this directory, call:

Even if I run:
git config --global --add safe.directory /home/xpto/.electrumx-installer

it doesn't work because I can't run again without erase the dir .electrumx-installer. When I erase I have the same error.

@felipelalli
Copy link
Author

The possible solution:

sudo su

before.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant