start.sh command fail
-
Hi all,
I decided to make a new installation of mycontroller with a fresh rpi. So I followed instructions step by step from : https://forum.mycontroller.org/topic/219/how-to-install-mycontroller-on-the-raspberrypi-or-any-other-linux-unix-systemI went to the end with no problem, but when I enter the final command
pi@raspberrypi:/opt/mycontroller/bin $ ./start.sh
I get the answer-bash: ./start.sh: Permission denied
If I remove "./" at front with or without sudo then the answer issudo: start.sh: command not found
I really don't understand where is the problem...
I made apt-get update and upgrade in case but not better...
Thanks to anyone can help! -
@heyjay I guess you might extracted
mycontroller*.zip
as a root user. deletemycontroller
directory as root user or sudo. and extract as normal user. -
-
@tag
Hi,
I tried this :pi@raspberrypi:/opt/mycontroller/bin $ ls -l start.sh -rwxrwxr-x 1 pi pi 2061 Nov 7 21:21 start.sh
then I did chmod as you proposed but I still have the same output and same problem...
@jkandasa
Then I followed your advice... Actually, I had transferred my zip file (that I have on my computer) with filezilla, so I guess rights are differents with filezilla even though I connected also with default user pi. Maybe someone has an explanation.So after following ALL exact instructions of the guide it works nicely!
Thank you both so much!
-
@heyjay good!