I thought that each app can always freely manage its directory in /Android folder. AFAIK code is in app/ and data in obb/ folders.
But many apps (e.g. games) display a message about needing local storage permission to download additional data.
Why do many apps need to ask for the generic storage permission - the one that says Files, folders, photo, video?
Are there some restrictions on the data an app can use without asking permission?
Just to clarify: I am NOT asking about file/photo manager apps, for them it is understandable that they need to see the whole filesystem.
Btw i found 2 possible duplicates, but their answers seem to contradict each other: 1 2 Does the storage permission allow reading the whole Internal storage? Or only the FAT-formatted external SD card?
READ_EXTERNAL_STORAGE
gives access to all data on your external and internal SD cards, but not to device storage, on "lower versions". Things look a bit different with the Storage Access Framework added in 5.1, and will change again with "scoped storage" on Android 11+…