This might create some confusion with the WRITE_MEDIA_STORAGE permission.īTW2, those apps, that define WRITE_EXTERNAL_STORAGE (such as syncthing) usually also define READ_EXTERNAL_STORAGE. For that reason, I believe, that adding this permission in the first place would solve my use case.īTW, if comparing src/main/AndroidManifest.xml with section in /data/system/packages.xml, it appears, that all permissions from the manifest get into packages.xml but the WRITE_EXTERNAL_STORAGE, probably because the mode I'm using, the sd card is declared as media storage. That issue vanished, after I added the permission item in /data/system/packages.xml again. What makes you think that? Did you update the App since you set this? I'm pretty sure this is the Marshmallow permission, which was (for some reason) not requested / set on first use and should stay once it is granted in the Android system settings.Īfter installing the latest update (the 0.14.x syncthing), my phone suffered from the very same permission problem as initially. Syncthing is used here to keep about 75 GB out of 120 GB in sync with my desktop, so yes, it is doing a great job, as long as it doesn't suffer from permission problems. In the other mode, the external SD card stays separate, thus the sd card keeps a valid filesystem of its own, that can be used outside of the device. In one mode, it combines its internal memory with the memory of the external sd card (the one, you can plug in) by the price of encrypting both. Note: MM uses 2 different modes for external SD cards (I use this silly description, since MM on a SGS7 shows its internal memory as sdcard 0 (/storage/emulated/0). I have several related jobs defined, that all write to top level folders in /storage/nnnn-mmmm (n and m being decimal digits) without using the root option. Hmm, I cannot speak for the general case, but using the mentioned manual modification, syncthing can write to arbitrary folders on my external sd card. Syncthing cannot write to external SD cards, but only to the internal storage, which in most cases is sd card 0
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |