question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

New permission required for MM: WRITE_MEDIA_STORAGE for SD card

See original GitHub issue

after upgrading to a SGS7 with Marshmallow (Android 6.0.1), I stumbled across a problem of Syncthing not preceeding with its work (given, some sync jobs existed and were partly synced to some SD card folder already. Looking into the web interface revealed, that all missing items suffered from permission problems.

Rooting option wasn’t the real McCoy either, since it behaved strangely (don’t remember details, sorry). Searching the net up and down finally stumbled me across some thread, that work around that issue by adding

    <item name="android.permission.WRITE_MEDIA_STORAGE" granted="true" flags="0" />

in the perms section of the affected package in /data/system/packages.xml. Given, that this has to be repeated after any update, I kindly request this permission for the official release.

Version Information

App Version: 0.14.3
Syncthing Version: 0.8.1
Android Version: Android 6.0.1

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:36 (15 by maintainers)

github_iconTop GitHub Comments

4reactions
frispetecommented, Feb 7, 2017

@Nutomic I’ve brought it here in the hope for wider audience…

2reactions
Nutomiccommented, Aug 18, 2016

I added the permission for the next release. Please let us know if it works 😉

Read more comments on GitHub >

github_iconTop Results From Across the Web

Storage updates in Android 11 - Android Developers
The root directory of each SD card volume that the device manufacturer ... shared storage using this app, you need to have the...
Read more >
Change app permissions on your Android phone
On your phone, open the Settings app. · Tap Apps. · Tap the app you want to change. If you can't find it,...
Read more >
Android 6.0 Marshmallow. Cannot write to SD Card
I have an app that uses external storage to store photographs. As required, in its manifest, the following permissions ...
Read more >
How To Grant ReadWrite Permissions To External SD Card In ...
Google has customized the default permissions for the external SD Card on Android 4.4 KitKat update, which frankly caused many of your ...
Read more >
How can I allow SD card access on Android to specific apps?
You have to go to each app settings and go to permissions to enable access to storage.. once you enable access to storage,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found