Comments (10)
Same on Pixel 7a. Changing the option in the web GUI does not change the readout in the native application, but it does in fact allow for receiving changes and writing them to internal storage.
from syncthing-android.
Running into the same thing on my Pixel 8. Sync was working fine and then recently (in the last week or so?) two folders changed to "Send only". The folders are in /storage/emulated/0/sync.
In the Android GUI, Folder Type is grayed out, if I tap it, a toast message appears: "Your Android version only grants Syncthing readonly access to the selected folder." I just opened the Web UI (from the Android app main menu), and there I'm able to change the folders back to "Send & Receive" and then they resync successfully!
The Android app seems to be incorrectly detecting the readonly problem, since it actually can sync just fine now. In fact, the folders still show as "Send only" in the Android UI, even though the web UI is now showing "Send & Receive" for them.
Pixel 8 Pro / Android 14 / Syncthing 1.27.2
from syncthing-android.
Same on Pixel 8 (Android 14)
from syncthing-android.
I experienced this and the web ui workaround worked.
For developers: Although my error log says permission denied, it seems like running a shell command is testing more than just writing a file. Why not use new File(...).createNewFile()
?
from syncthing-android.
No need to report any more that this happens, it's clear it does. Something in whatever test/heuristic we use to determine if the location is writable is not working as expected. There's no additional info needed, just an investigation/fix.
from syncthing-android.
I'd encourage anyone who faces this issue to make sure to select a folder in a non-restricted location. In the OP, even though quite out-dated by now, ~
is used, which is quite tricky on Android as that probably directs to the app's home(?). Afaik there is not really a linux-like home directory. I'd avoid using it at least.
from syncthing-android.
OnePlus 9, Android 13.1, syncthing version 1.23.7
Folder and .stfolder were created at /storage/emulated/0 but I'm also getting the "read only" message 🤷
from syncthing-android.
Running into the same thing on my Pixel 8. Sync was working fine and then recently (in the last week or so?) two folders changed to "Send only". The folders are in /storage/emulated/0/sync.
In the Android GUI, Folder Type is grayed out, if I tap it, a toast message appears: "Your Android version only grants Syncthing readonly access to the selected folder." I just opened the Web UI (from the Android app main menu), and there I'm able to change the folders back to "Send & Receive" and then they resync successfully!
The Android app seems to be incorrectly detecting the readonly problem, since it actually can sync just fine now. In fact, the folders still show as "Send only" in the Android UI, even though the web UI is now showing "Send & Receive" for them.
Pixel 8 Pro / Android 14 / Syncthing 1.27.2
Thank You So Much Web UI Worked 💓
from syncthing-android.
Same on Samsung A54 5G, Android 14. I created a folder as Send/Receive in internal storage, it worked well, and randomly changed itself to "Send Only" with this warning text. I was able to change it in the Web GUI back to Send/Receive and all is well.
from syncthing-android.
I experienced this and the web ui workaround worked.
For developers: Although my error log says permission denied, it seems like running a shell command is testing more than just writing a file. Why not use
new File(...).createNewFile()
?
Yes I strongly agree: if not root, the app should just use the standard Java interface...
from syncthing-android.
Related Issues (20)
- Web GUI is broke after last update HOT 1
- Android 13 saf file path support HOT 1
- Broken Bountysource link in README HOT 1
- App keeps crashing after setting fswatcher delay to 0.1 sec HOT 8
- Installing APK fails with 'java.lang.RuntimeException: Could not copy bitmap to parcel blob' HOT 22
- Could not access device ID + Disconnection
- Syncthing loading forever (Android 5.0) HOT 34
- FileUriExposedException on editing ignores HOT 2
- Typo error in welcome screen
- App not working despite phone is connected to wifi HOT 1
- Expecting binder but got null! HOT 2
- Syncthing stops running after a few weeks HOT 4
- Support for Android SAF HOT 4
- status about android10 (sony xperia XZ2 phone) and syncthing not being able to write in sdcard folder (DCIM one...) HOT 2
- Explanation for slow sync on Android w/lots of files + request for fix HOT 2
- No way to back out of subfolder HOT 1
- Unable to run in background -- unable to set battery usage to Unrestricted HOT 4
- Not running every hour HOT 10
- "Override Changes" button MUST WARN PEOPLE WHAT IT DOES. HOT 1
- Info: No releases on google play for now HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from syncthing-android.