Browse Source

Fix permissions of bitcoind

master
nolim1t 5 years ago
parent
commit
5de2011e5f
No known key found for this signature in database GPG Key ID: F6287B82CC84BCBD
  1. 4
      stage2/08-configure-bitcoind/01-run.sh

4
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

Loading…
Cancel
Save