'cp: cannot create regular file '/home/root/.ipfs': No such file or directory

I am trying to install Rubix Node in Linux. I already have jdk, and I had downloaded IPFS storage zip file and proceeded as per the instructions and I see .ipfs file created in the root directory as well, but error comes saying there is no such .ipfs file when I am trying to run start up script file after installing ZIP file related to IPFS Network:

./init.sh: 2: ipfs: Permission denied
cp: cannot create regular file '/home/root/.ipfs': No such file or directory
./init.sh: 4: ipfs: Permission denied
./init.sh: 5: ipfs: Permission denied
./init.sh: 6: ipfs: Permission denied
./init.sh: 7: ipfs: Permission denied
./init.sh: 8: ipfs: Permission denied
./init.sh: 9: ipfs: Permission denied

What might be causing the issue?



Solution 1:[1]

Seems like a permission issue. Once you are inside your Linux-SetupScript folder try:

chmod +x ./init.sh

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Dada