Выполнение скрипта в Termux

Если при выполнении скрипта выходит сообщение с ошибкой

bash: permission denied

Надо выполнить следующую операцию:

chmod +x 

Why do I keep getting ‘permission denied’ when trying to launch a script?
If you have a problem running bash scripts read the following:
Both the internal shared storage (/sdcard,/storage/emulated/0) and external SD cards do not support executive permissions. You need to move your scripts to the $HOME directory of Termux and set the permissions (chmod +x <scriptname>) before you’re able to run it. Alternatively you can call your script with an interpreter: python script.pybash script.sh

Print Friendly, PDF & Email

Добавить комментарий