Fix chown mistake
This commit is contained in:
parent
a445a0572f
commit
a611be9e6f
@ -352,8 +352,8 @@ copy_bitcoin_core_binary() {
|
|||||||
sleep 1
|
sleep 1
|
||||||
cp "$node_folder/bitcoin-$latest_version/src/bitcoind" "${expected_location}"
|
cp "$node_folder/bitcoin-$latest_version/src/bitcoind" "${expected_location}"
|
||||||
cp "$node_folder/bitcoin-$latest_version/src/bitcoin-cli" "${expected_location}"
|
cp "$node_folder/bitcoin-$latest_version/src/bitcoin-cli" "${expected_location}"
|
||||||
chown root:root "${expected_location}/bitcoind"
|
chown bitcoin:bitcoin "${expected_location}/bitcoind"
|
||||||
chown root:root "${expected_location}/bitcoin-cli"
|
chown bitcoin:bitcoin "${expected_location}/bitcoin-cli"
|
||||||
chmod 755 "${expected_location}/bitcoind"
|
chmod 755 "${expected_location}/bitcoind"
|
||||||
chmod 755 "${expected_location}/bitcoin-cli"
|
chmod 755 "${expected_location}/bitcoin-cli"
|
||||||
echo "Bitcoin Core binary has been copied to ${expected_location} and proper permissions have been set."
|
echo "Bitcoin Core binary has been copied to ${expected_location} and proper permissions have been set."
|
||||||
|
Loading…
Reference in New Issue
Block a user