Termux can't run shell script

342 Views Asked by At

As stated in the topic above, I am trying to configure a hardware using shell script which is downloaded from the official website of Orange Pi. Am using termux as the medium to run the shell script of the config file. But, whenever I try running the shell script, it shows permission denied. The shell script needs a rooted hardware. I have rooted the Orange Pi. I am running the shell script in 'su' state. Still it shows permission is denied. Any suggestion?

I have run: './script.sh' and 'sudo ./script.sh' Both of the command above is run in 'su' state

both of it shows permission is denied. Any suggestion on how should I do it?

1

There are 1 best solutions below

1
On

In android phones I deal with shell scripts in custom recovery's terminal (TWRP or Orange Fox) or through CMD in windows while the phone is still in recovery mode (I am to use it without root in recovery ). I don't know if it works the same way for Orange Pi OS (its based on android), also try using termux from github for F-Droid, Play store version is not working properly and is very old.