diff --git a/Bitcoin/coreinstall.sh b/Bitcoin/coreinstall.sh index 8372dca..c408891 100644 --- a/Bitcoin/coreinstall.sh +++ b/Bitcoin/coreinstall.sh @@ -352,8 +352,8 @@ copy_bitcoin_core_binary() { sleep 1 cp "$node_folder/bitcoin-$latest_version/src/bitcoind" "${expected_location}" cp "$node_folder/bitcoin-$latest_version/src/bitcoin-cli" "${expected_location}" - chown root:root "${expected_location}/bitcoind" - chown root:root "${expected_location}/bitcoin-cli" + chown bitcoin:bitcoin "${expected_location}/bitcoind" + chown bitcoin:bitcoin "${expected_location}/bitcoin-cli" chmod 755 "${expected_location}/bitcoind" chmod 755 "${expected_location}/bitcoin-cli" echo "Bitcoin Core binary has been copied to ${expected_location} and proper permissions have been set."