In every android device I've owned I could access /sdcard/Android/data/ to get the files created by my own app. In the Galaxy Watch 5 I get:
The permissions for the directory are the usual:
Shouldn't shell:
... belong to the ext_data_rw group too?? The OS build should not be older than this change: https://android.googlesource.com/platform/system/core/+/c3f71bc^!/
This is in my phone running LineageOS, for example:
Is there any other way to access files in the /sdcard/Android/data directory? Or will I have to give my app MANAGE_EXTERNAL_STORAGE permission and create them elsewhere?
Code:
heartbs:/ $ ls /sdcard/Android/data/
ls: /sdcard/Android/data/: Permission denied
The permissions for the directory are the usual:
Code:
1|heartbs:/ $ ls -ld /sdcard/Android/data
drwxrws--x 11 media_rw ext_data_rw 3452 2023-03-14 18:06 /sdcard/Android/data
Shouldn't shell:
Code:
heartbs:/ $ whoami
shell
heartbs:/ $ groups
shell input log adb sdcard_rw sdcard_r net_bt_admin net_bt inet net_bw_stats readproc uhid
... belong to the ext_data_rw group too?? The OS build should not be older than this change: https://android.googlesource.com/platform/system/core/+/c3f71bc^!/
This is in my phone running LineageOS, for example:
Code:
surya:/ $ whoami
shell
surya:/ $ groups
shell input log adb sdcard_rw sdcard_r ext_data_rw ext_obb_rw net_bt_admin net_bt inet net_bw_stats readproc uhid readtracefs
Is there any other way to access files in the /sdcard/Android/data directory? Or will I have to give my app MANAGE_EXTERNAL_STORAGE permission and create them elsewhere?