Help request for Android read only

Hi. I’m hoping there is a solution for my seemingly read only sync to Android. I’ve done a bit of searching and reading but haven’t found anything I can connect with exactly what I’m experiencing.

I have syncthing instead on a Debian server using this guide How to Install Syncthing on Debian desktop/server

It’s appears to be all working correctly and syncs two way to my Linux Mint desktop.

When it come to my phone, Pixel 4a Android 13, though the files sync through and I have a folder which says send and receive and that Android has given it read write access however if I open a document to edit each app I’ve tried says read only.

The Android log shows some permissions errors. But I’m not sure how to interpret them.

Any advice pointers or hints appreciated.

Thanks

-24 07:38:19.850 W/libsyncthing.so( 6486): type=1400 audit(0.0:690): avc: denied { bind } for scontext=u:r:untrusted_app:s0:c239,c256,c512,c768 tcontext=u:r:untrusted_app:s0:c239,c256,c512,c768 tclass=netlink_route_socket permissive=0 bug=b/155595000 app=com.nutomic.syncthingandroid 11-24 07:38:19.850 W/libsyncthing.so( 6486): type=1400 audit(0.0:691): avc: denied { bind } for scontext=u:r:untrusted_app:s0:c239,c256,c512,c768 tcontext=u:r:untrusted_app:s0:c239,c256,c512,c768 tclass=netlink_route_socket permissive=0 bug=b/155595000 app=com.nutomic.syncthingandroid 11-24 07:38:21.182 W/Parcel ( 6412): Expecting binder but got null! 11-24 07:38:21.189 E/OpenGLRenderer( 6412): Unable to match the desired swap behavior. 11-24 07:38:21.243 W/libsyncthing.so( 6486): type=1400 audit(0.0:692): avc: denied { bind } for scontext=u:r:untrusted_app:s0:c239,c256,c512,c768 tcontext=u:r:untrusted_app:s0:c239,c256,c512,c768 tclass=netlink_route_socket permissive=0 bug=b/155595000 app=com.nutomic.syncthingandroid 11-24 07:38:21.243 W/libsyncthing.so( 6486): type=1400 audit(0.0:693): avc: denied { bind } for scontext=u:r:untrusted_app:s0:c239,c256,c512,c768 tcontext=u:r:untrusted_app:s0:c239,c256,c512,c768 tclass=netlink_route_socket permissive=0 bug=b/155595000 app=com.nutomic.syncthingandroid 11-24 07:38:22.871 W/Parcel ( 6412): Expecting binder but got null! 11-24 07:38:22.890 E/OpenGLRenderer( 6412): Unable to match the desired swap behavior. 11-24 07:38:24.846 W/Parcel ( 6412): Expecting binder but got null! 11-24 07:38:24.854 E/OpenGLRenderer( 6412): Unable to match the desired swap behavior. 11-24 07:38:25.547 W/Parcel ( 6412): Expecting binder but got null! 11-24 07:38:25.565 E/OpenGLRenderer( 6412): Unable to match the desired swap behavior.

What is the specific folder path? Can you include screenshots that show the exact error messages that you’re seeing?

The path is /storage/emulated/0/Syncthing/P Docs

The error message in Collabora office is. this file is read only, saving is disabled. It flashes up when opening a doc so isn’t screen shot friendly

Thanks

The path should be accessible for other apps. Can you try something else than Collabora Office and see what happens? You could even try creating a basic text file and then opening it via a text editor.

Interesting results. I grabbed the Oojao Text editer and saving gave me a permission denied error but also suggest using it own file manager. I got this off the store too and it works if I open the files from this file manager rather than the google one I can save files. I can’t see though why the google file manager it blocking access. Nothing in the app permissions shows this.

Thank you

The errors are referring to the Syncthing library trying to send some data via an inter-process link to the OpenGL graphics engine and being blocked by SELinux (aka., Security Enhanced Linux). SELinux tends to log a lot of “violations” that aren’t serious. Nothing in the log snippet is related to your read-only access problem, so it’s something else.

There’s a great open-source file manager for Android called “Material Files”:

Using Material Files…

  1. Browse to /storage/emulated/0/Syncthing
  2. Tap the 3-dot/more option to the right of your P Docs directory.
  3. Tap the “Properties” menu item.
  4. Tap the “Permissions” tab.

Please take a screenshot and share it here.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.