Closed JeelsBoobz closed 1 week ago
Unfortunately write permission to all of /sdcard
is no longer granted by Android - see https://developer.android.com/about/versions/11/privacy/storage.
If you need unrestricted write access to /sdcard
from Termux, install the F-Droid build, which circumvents newer security restrictions on Android by targeting older API levels - but that is not possible on Google Play.
If you only need access to app-private parts, perhaps try running termux-setup-storage
and then putting files in ~/storage/external-0
or similar.
You're also welcome to describe your high level use case, what it is you want to achieve - perhaps we can solve it somehow with either existing or new functionality!
Unfortunately write permission to all of
/sdcard
is no longer granted by Android - see https://developer.android.com/about/versions/11/privacy/storage.If you need unrestricted write access to
/sdcard
from Termux, install the F-Droid build, which circumvents newer security restrictions on Android by targeting older API levels - but that is not possible on Google Play.If you only need access to app-private parts, perhaps try running
termux-setup-storage
and then putting files in~/storage/external-0
or similar.You're also welcome to describe your high level use case, what it is you want to achieve - perhaps we can solve it somehow with either existing or new functionality!
Oh, okay thanks your information
Problem description
Can't write to /sdcard
Steps to reproduce the behavior.
echo "" > /sdcard/a.txt![Screenshot_2024-06-14-18-33-16-632_com termux](https://github.com/termux-play-store/termux-apps/assets/38210868/7703bc9c-2c26-483d-a6aa-37bf6d069888)
What is the expected behavior?
No response
System information