I recently switched from a Samsung SM-A520W running Android 9 (LineageOS) to a Pixel 6a running Android 15 (Graphene OS). It appears that non-media files (e.g. txt or org files) that I create in a shared directory (/storage/emulated/0/personal/) with an app (e.g. Orgzly) are not listed when I access the same directory via cli in termux ($ ls -la), which has full file access permissions. I still can access these files through Amaze or the stock file manager app, but not via termux. However, media files (like jpeg or mpeg) are also listed in termux as expected. Also, existing non-media files appear in termux as soon as I rename their file-extension from .txt to .jpeg.
On my old Samsung SM-A520W running Android 9 (LineageOS) all files no matter whether media or non-media files were accessible through termux. I understand Android introduced some changes to shared storage across apps, but shouldn't termux be able to have read/write access to any files saved in a shared directory such as /storage/emulated/0/personal/
? According to the grapheneOS usage guide, at least for /storage/emulated/0/Documents/
and /storage/emulated/0/Download/
this should be the case, but is not on my end.