Problem description
After installing a fresh F-Droid Termux installation, running termux-setup-storage hangs indefinitely and does not create ~/storage.
The same issue occurred before reinstalling Termux, and it still occurs after a completely fresh installation.
Device: Xiaomi 2201117TG
Android: 13
Termux: F-Droid 0.119.0-beta.2
termux-tools: 1.45.0
Architecture: aarch64
The device's shared storage is accessible directly from Termux:
ls /storage/emulated/0 works and shows folders such as Download, DCIM, Pictures, Music, and Movies.
However, termux-setup-storage does not complete and no ~/storage directory is created.
Steps to reproduce the behavior.
- Install Termux from F-Droid.
- Open Termux.
- Run:
pkg update && pkg upgrade
- Run:
termux-setup-storage
- The command hangs indefinitely and does not create
~/storage.
- Pressing Ctrl+C returns to the shell.
- Run:
ls -la ~/storage
- Result:
ls: cannot access '/data/data/com.termux/files/home/storage': No such file or directory.
What is the expected behavior?
termux-setup-storage should request/obtain the required storage permission and create the ~/storage directory with the appropriate storage symlinks.
System information
- Termux application version: 0.119.0-beta.2 (F-Droid)
- Android OS version: Android 13
- Device model: Xiaomi 2201117TG
Problem description
After installing a fresh F-Droid Termux installation, running
termux-setup-storagehangs indefinitely and does not create~/storage.The same issue occurred before reinstalling Termux, and it still occurs after a completely fresh installation.
Device: Xiaomi 2201117TG
Android: 13
Termux: F-Droid 0.119.0-beta.2
termux-tools: 1.45.0
Architecture: aarch64
The device's shared storage is accessible directly from Termux:
ls /storage/emulated/0works and shows folders such as Download, DCIM, Pictures, Music, and Movies.However,
termux-setup-storagedoes not complete and no~/storagedirectory is created.Steps to reproduce the behavior.
pkg update && pkg upgrade
termux-setup-storage
~/storage.ls -la ~/storage
ls: cannot access '/data/data/com.termux/files/home/storage': No such file or directory.
What is the expected behavior?
termux-setup-storageshould request/obtain the required storage permission and create the~/storagedirectory with the appropriate storage symlinks.System information