From 52b72ab6fc6f7fab1ba24d4083edb51b55bca8ed Mon Sep 17 00:00:00 2001
From: Robert Martin-Legene <robert@nic.ar>
Date: Thu, 10 Oct 2019 18:07:53 -0300
Subject: [PATCH] Necesitamos chown despues de hacer el directorio del nodo
 como root

---
 bin/installbfa.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/bin/installbfa.sh b/bin/installbfa.sh
index de9d2b3..f95aef8 100755
--- a/bin/installbfa.sh
+++ b/bin/installbfa.sh
@@ -149,6 +149,7 @@ function initgenesis
         then 
             info "Node is not initialised. Initialising with genesis."
             geth --networkid ${BFANETWORKID} --cache 0 --datadir "${BFANODEDIR}" init "${BFANETWORKDIR}/genesis.json"
+            chown -R bfa:bfa ~bfa
         fi
     )
 }
-- 
GitLab