Conversation

I’ve never coded for android but dream in Linux ... How is it that android (based on Linux) does not run each app as a underprivileged user and set ‘owner only read’ permissions on files it writes to external storage??? This seems bloody obvious and relatively easy to implement.
2
> set ‘owner only read’ permissions on files it writes to external storage The usual storage location for apps is in their internal app sandbox. External means outside of the app sandbox and requesting access to external storage is a legacy approach to sharing data between apps.
1
2
The whole point of external storage is that it's shared storage between apps. The ability to request global access to it was a poor design that started to be phased out in Android 4.4 which introduced granting case-by-case file access instead. 5.0 extended that to directories.
1
2
Unfortunately, there was massive pushback against Scoped Storage from anti-privacy app developers. They successfully misrepresented the feature and used journalists and power user communities as tools to fight against it. Apps can now opt-out of it until the Android R API level.
1
3
Scoped Storage will be available within a month or two. The approach is fully compatible with legacy applications as I explained above. There is no need for something like Scoped Storage rather than using the actual feature so I don't really understand the question you're asking.
2
1
Users on GrapheneOS will have a worse experience due to that anti-privacy activism and will need to learn to use the system file manager to move files / directories to and from the emulated external storage directories. The scoped access to external storage is for compatibility.
1
3
As an example, a third party file manager implemented via SAF will continue working in the Scoped Storage model. It asks the user to choose the access scope, and they can make the explicit decision to select the root of the storage volume but the UI leaves it entirely up to them.
1
2
Show replies
There were a few people dedicating hours every day to spreading misinformation and dishonest claims about it. They lobbied communities like /r/Android and /r/androiddev on Reddit (but also across many other sites) and turned communities against it by misrepresenting the feature.
1
1
Show replies