termux / termux-app

Termux - a terminal emulator application for Android OS extendible by variety of packages.
https://f-droid.org/en/packages/com.termux
Other
35.17k stars 3.7k forks source link

[Bug]: exec("/data/data/com.termux/files/usr/bin/login"): Permission denied [Process completed (code 1) - press Enter] #4111

Closed samir717le closed 1 month ago

samir717le commented 1 month ago

Problem description

hello dear sir i got a bug on termux first time my termux are not launching than i reinstall no it show exec("/data/data/com.termux/files/usr/bin/login"): Permission denied

[Process completed (code 1) - press Enter]

i clear storage and allow storage access it not working

Steps to reproduce the behavior.

exec("/data/data/com.termux/files/usr/bin/login"): Permission denied

[Process completed (code 1) - press Enter]

What is the expected behavior?

must open the terminal

System information

sylirre commented 1 month ago

Are you installed Termux on external SD card or adoptable storage? This error known to happen in such case.

Termux supports installation on the internal storage only.

samir717le commented 1 month ago

no

On Mon, Aug 19, 2024, 5:18 PM Git User @.***> wrote:

Are you installed Termux on external SD card or adoptable storage? This error known to happen in such case.

Termux supports installation on the internal storage only.

— Reply to this email directly, view it on GitHub https://github.com/termux/termux-app/issues/4111#issuecomment-2296329765, or unsubscribe https://github.com/notifications/unsubscribe-auth/BFVSVYMOZMT37WBSGGP6ACTZSHIBRAVCNFSM6AAAAABMW6AHKGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJWGMZDSNZWGU . You are receiving this because you authored the thread.Message ID: @.***>

agnostic-apollo commented 1 month ago

Generate an error report with debug info enabled and upload file here.

https://github.com/termux/termux-packages/blob/site/site/pages/en/projects/docs/repos/main/packages/termux-tools/logcat/index.md#to-get-logs-of-termux-apps

samir717le commented 1 month ago

i don't know how to do

On Mon, Aug 19, 2024, 5:40 PM agnostic-apollo @.***> wrote:

Generate an error report with debug info enabled and upload file here.

https://github.com/termux/termux-packages/blob/site/site/pages/en/projects/docs/repos/main/packages/termux-tools/logcat/index.md#to-get-logs-of-termux-apps

— Reply to this email directly, view it on GitHub https://github.com/termux/termux-app/issues/4111#issuecomment-2296368963, or unsubscribe https://github.com/notifications/unsubscribe-auth/BFVSVYL5UPY5ISLCPI5EYV3ZSHKURAVCNFSM6AAAAABMW6AHKGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJWGM3DQOJWGM . You are receiving this because you authored the thread.Message ID: @.***>

samir717le commented 1 month ago

termux-report_issue_from_transcript.log

agnostic-apollo commented 1 month ago

SE_PROCESS_CONTEXT: u:r:untrusted_app:s0:c159,c256,c512,c768

Wrong SeLinux context is being assigned to termux app. Reboot phone and it should hopefully be fixed.

APK_RELEASE: Unknown

You have not installed from our github or fdroid official releases, we will not provide support for other issues for third party builds.

VERSION_NAME: 0.118.0

You are on an older version, latest termux release is 0.118.1.