Fix chown mistake

This commit is contained in:
Enki 2024-01-09 11:16:38 -08:00
parent a445a0572f
commit a611be9e6f

View File

@ -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."