enter image description here
'''ls: cannot open directory '.': Permission denied'''
beside the instruction other people mentioned:
you may also need to do it as a root user.
To get the list of files and folders using 'ls' command, it is necessary to have permission of storage first. And as termux app does not have storage permission option in settings, so, we have to run the command
termux-setup-storage
and provide the permission for termux app.
After restarting the app, the command runs perfectly.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With