diff --git a/src/freedombone-app-ipfs b/src/freedombone-app-ipfs index 75205c74..ebd65dc7 100755 --- a/src/freedombone-app-ipfs +++ b/src/freedombone-app-ipfs @@ -539,6 +539,7 @@ function install_ipfs_go { fi # initialise + chmod +x $IPFS_PATH/ipfs su -c "$IPFS_PATH/ipfs init -b 2048" - $MY_USERNAME if [ ! -d /home/$MY_USERNAME/.ipfs ]; then echo "IPFS could not be initialised for user $MY_USERNAME" diff --git a/src/freedombone-image-mesh b/src/freedombone-image-mesh index 69c5c367..9ba5ffea 100755 --- a/src/freedombone-image-mesh +++ b/src/freedombone-image-mesh @@ -1033,6 +1033,7 @@ function setup_ipfs { shred -zu /home/$MY_USERNAME/.ipfs-public fi + chmod +x $IPFS_COMMAND su -c "$IPFS_COMMAND init -b $IPFS_KEY_LENGTH" - $MY_USERNAME if [ ! -d /home/$MY_USERNAME/.ipfs ]; then echo "IPFS could not be initialised for user $MY_USERNAME" >> $INSTALL_LOG