How To Access Sdcard Or External Storage In Termux Without Permission Denied Error
Welcome To HaX4Us
And it is obvious that you will try to access sdcard or external storage in termux to save your any important thing & one more noticeable thing is that the permission denied error does not come in Android 5 or before.
It means that you are here because you have Android 6.0 or later. So the only thing what you have to do is that
- run this command in termux termux-setup-storage
![]() |
| hax4us |
- After then you will be prompt for permission like as below screenshot so you have to click on allow
| Hax4us |
Executing termux-setup-storage ensures:
- That permission to shared storage is granted to Termux when running on Android 6.0 or later.
- That an app-private folder on external storage is created (if external storage exists).
- That a folder $HOME/storage is created.

