From 5de2011e5f8510c2e3c8ee9285edfb3d3e936899 Mon Sep 17 00:00:00 2001 From: nolim1t Date: Fri, 6 Mar 2020 12:23:43 +0700 Subject: [PATCH] Fix permissions of bitcoind --- stage2/08-configure-bitcoind/01-run.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/stage2/08-configure-bitcoind/01-run.sh b/stage2/08-configure-bitcoind/01-run.sh index 11bb099..0e90eb2 100755 --- a/stage2/08-configure-bitcoind/01-run.sh +++ b/stage2/08-configure-bitcoind/01-run.sh @@ -8,3 +8,7 @@ echo "Downloading password utility" cd ${ROOTFS_DIR}/home/${FIRST_USER_NAME}/bin curl "https://raw.githubusercontent.com/bitcoin/bitcoin/master/share/rpcauth/rpcauth.py" 2>/dev/null 1>rpcauth.py chmod 755 rpcauth.py + +on_chroot << EOF +chown -R ${FIRST_USER_NAME}:${FIRST_USER_NAME} /home/${FIRST_USER_NAME} +EOF