From 74face85736871508b87a55e98026acb60db8473 Mon Sep 17 00:00:00 2001 From: rootzoll Date: Wed, 15 Aug 2018 13:11:41 +0200 Subject: [PATCH] owning prepared directories --- home.admin/40addHDD.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/home.admin/40addHDD.sh b/home.admin/40addHDD.sh index d0e3ceda8..86a48ddeb 100755 --- a/home.admin/40addHDD.sh +++ b/home.admin/40addHDD.sh @@ -49,6 +49,8 @@ if [ ${existsHDD} -gt 0 ]; then echo "*** Analysing HDD Content ***" if [ -d "/mnt/hdd/${network}" ]; then + sudo chown bitcoin:bitcoin /mnt/hdd/bitcoin 2>/dev/null + sudo chown bitcoin:bitcoin /mnt/hdd/litecoin 2>/dev/null echo "Looks like the HDD is prepared with the Blockchain." echo "Continuing with finishing the system setup ..." ./60finishHDD.sh