From 07639976965077403fba835b3132e19d57edc7ab Mon Sep 17 00:00:00 2001
From: Robert Martin-Legene <robert@nic.ar>
Date: Fri, 11 Oct 2019 12:23:25 -0300
Subject: [PATCH] Asegurar que root no es due#o de archivos

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

diff --git a/bin/bfaupdate.sh b/bin/bfaupdate.sh
index 6a3670b..ef9d829 100755
--- a/bin/bfaupdate.sh
+++ b/bin/bfaupdate.sh
@@ -51,6 +51,7 @@ then
     #
     # To keep things neat, make sure we pull as the user owning the
     # directory.
+    chown -R bfa:bfa ${BFAHOME}
     runasownerof ${BFAHOME} git pull
     exec $0 wealreadypulled
 else
-- 
GitLab