3 ms·
Unix 40 year old permission system is enough to deal with this, this is no excuse.
by mixedCase 10y ago
Unix 40 year old permission system is enough to deal with this, this is no excuse.
- eeZi 10y agoThe hard part is the user interface, not the backend. The application needs to invoke a privileged UI where the user can choose which files or directories the application may access. (many storage media are formatted using FAT, so the media API is probably not implemented using Unix permissions)
- mixedCase 10y agoI'm talking of allowing apps to mark things (like the WhatsApp data previously mentioned) to only be accessible by itself or some other app(s). As for FAT, I said in another comment that Google has already imposed MTP on us and Android's adoptable storage uses ext4 anyway, so they could easily require it on all removable storage where application data is stored.
- lokedhs 10y agoAs far as I understand, media was (is?) stored on sdcards, which uses (can use) FAT, which has no permissions support.
- mixedCase 10y agoIt uses ext4 on the mixed mode (which incorporates it as system memory), but it should require ext4 for sd cards as well. They cut off USB mass storage support so they have already crossed that line.