geek-at / phptrader

A simple php powered Bitcoin and Ethereum trading bot
143 stars 41 forks source link

Log Permissions Not Allowing Script To Run #13

Closed DataBass504 closed 7 years ago

DataBass504 commented 7 years ago

I have installed the script on two separated devices, a rpi3 & a rpi0w. On the rpi3 I installed composer globally & on my rpi0w I installed composer locally, both devices are running into the same permissions error when trying to run the command ''./start.sh" in terminal. Here is the error:

./start.sh: line 2: /var/log/phptrader.log: Permission denied

Can someone please explain to me how to get past this error & fix the issue, thank you in advance.

geek-at commented 7 years ago

either start the script as root or with "sudo"