I have syncthing-fork running on a debian server linked to my Android device. This is the entire directory exposed to users on the android phone (/storage/emululated/0) which also contains all the android data files. Somehow, as I have been setting things up, it seems syncthing synced things file permissions on my Android device setting them to rwsrws—. The phone is not rooted, so unsure how syncthing was even able to change file permissions. Termux can no longer read the non-termux file system (/storage/emulated/0).
File managers on Android don’t have perms to change the file permissions on unrooted android. Can someone give advise on how I can revert my Android phone permissions back to where they should be?
Honestly, I think the simplest solution is to just remove the folder completely (both from Syncthing and the storage), then start from scratch with “Ignore Permissions” turned on.
Please clarify which folder. The folder with the syncthing WebUI or the actually directories on the phone and NAS? The folder on the Android phone is the entire base directory, so all those need changed back to world/other read and write on the unrooted android phone.
I mean the Android side only. Can you show the actual paths of what you’re trying to sync there? I hope it’s not the entire /storage/emulated/0 internal storage.
Well, this would’ve probably been fine if the folder type had been “Send Only”, but it’s too late for that. At this point, I’d guess a factory reset on the phone is probably the easiest way to get everything back to normal… Obviously, this will delete all user data on the device.