Answer the question
In order to leave comments, you need to log in
Permission denied when running sh script, what's wrong?
I do this post
habrahabr.ru/post/210592
Unpacked to /home/pi/JAVAME/
when I try to run the script sudo ~/JavaME/bin/usertest.sh writes ./run.sh Permission denied
did chmod +x for run. I stumbled for another script run from run
Do I need to do all the chmod +x files or did I not understand something?
Answer the question
In order to leave comments, you need to log in
Either chmod +x filename, or "sh script.sh"
You can't run a file for execution without the right to execute.
"sh ~/JavaME/bin/usertest.sh"
In this case, "~/JavaME/bin/usertest.sh" will act as an argument and the rights to execute it can be omitted.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question