’'’It is necessary to grant storage permission for Termux on Android 6 and higher. Use ‘Settings>Apps>Termux>Permissions>Storage’ and set to true.
[[apt]] update && [[apt]] upgrade to make sure that this tool is available) to ensure:
$HOME/storagefolder are symlinks to different storage folders:
The root of the shared storage between all apps,
The standard directory for downloads from e.g. the system browser,
The traditional location for pictures and videos when mounting the device as a camera,
Standard directory in which to place pictures that are available to the user,
Standard directory in which to place any audio files that should be in the regular list of music for the user,
Standard directory in which to place movies that are available to the user,
Symlink to a Termux-private folder on external storage (only if external storage is available).