termux-desktop icon indicating copy to clipboard operation
termux-desktop copied to clipboard

Permission denied

Open akramverus1 opened this issue 3 years ago • 4 comments

when i run ./setup.sh --install i get Permission denied what can I do to fix this?

My phone is Reno 6 not rooted WhatsApp Image 2022-01-09 at 12 52 14

akramverus1 avatar Jan 09 '22 06:01 akramverus1

Your setup.sh is not an executable file, yet.

Run this command inside the downloaded folder:

chmod +x setup.sh

Then you can run it just fine.

zalgonoise avatar Jan 09 '22 18:01 zalgonoise

Your setup.sh is not an executable file, yet.

Run this command inside the downloaded folder:

chmod +x setup.sh

Then you can run it just fine.

i already did that ,still same permission denied

akramverus1 avatar Jan 09 '22 21:01 akramverus1

I think you're trying to run these files from your Android's storage, or Downloads folder (correct me if I am wrong). Did you git clone the repo or downloaded it with Chrome or something? Because from the screenshot you clearly moved to ~/storage/downloads.

If that is the case, you're running an executable outside Termux's app folder. This is not possible (without root) nor is it advisable, either.

Please clone the repo with git clone -- within Termux's home folder for example --, as listed in the instructions:

Update termux packages and install git

pkg upgrade && pkg install git

Clone this repository

git clone --depth=1 https://github.com/adi1090x/termux-desktop.git

zalgonoise avatar Jan 09 '22 22:01 zalgonoise