Most active commenters
  • izacus(4)
  • trav4225(3)

←back to thread

397 points opengears | 31 comments | | HN request time: 0.001s | source | bottom
Show context
jasonjayr ◴[] No.41896030[source]
From the (current) final comment at https://github.com/syncthing/syncthing-android/issues/2064

> Nothing came of the discussions with google. Demands by Google for changes to get the permission granted were vague, which makes it both arduous to figure out how to address them and very unclear if whatever I do will actually lead to success. Then more unrelated work to stay on play came up (dev. verification, target API level), which among other influences finally made me realize I don't have the motivation or time anymore to play this game.

replies(1): >>41896431 #
izacus ◴[] No.41896431[source]
I don't think Google was ever buy a "I don't want to use file APIs because writing the code would be hard." excuse for a security issue. I don't know what kind of exact "discussions" were possible here for "give me access to all user data, photos and everything because I don't think I want to use SAF APIs". It's like that dude in your company that will have a meltdown in PRs over his better way instead of fixing the comments and having code submitted.

Apple won't let you write into random directories past their APIs either, just because it would be too hard to use ObjC/Swift.

replies(8): >>41896508 #>>41897183 #>>41897242 #>>41897307 #>>41897422 #>>41898178 #>>41899343 #>>41900928 #
homebrewer ◴[] No.41896508[source]
Put a lot of scary warnings around it then. It's for the user to decide if they want to take the risk or not. Google took something that solved real problems better than any alternative could, did so for many years, and destroyed it for no real reason other than to further tighten control they have of the supposedly "open" platform.
replies(4): >>41896583 #>>41896829 #>>41897279 #>>41897419 #
1. izacus ◴[] No.41896583[source]
They did, the upstading app developers like this one just forced people to give them full access to all data in the app (or the app wouldn't run) and ended up not implementing scoped storage - something HNers outright demanded several times and exposed as a good upside of iOS.

So stick had to come out. The full filesystem access is now reserved for apps that manage full filesystem (e.g. file explorers) and that's it. Scoped storage APIs were introduced in 2013, 11 years ago and Play started enforcing them in 2020, so the experiment with scary warnings was running for 7 years and developers refused to give up on that sweet full private file access.

Granted, SAF is quite a shitty API.

replies(4): >>41896622 #>>41896917 #>>41897111 #>>41898012 #
2. monocasa ◴[] No.41896622[source]
I mean, syncthing is exactly the kind of app I would expect to have full filesystem access.
replies(1): >>41896733 #
3. growse ◴[] No.41896733[source]
Why? I want it to have access to the folders I want it to sync, not everything on my device.

Seems like a perfect fit for SAF.

replies(6): >>41896898 #>>41897098 #>>41897753 #>>41897758 #>>41898414 #>>41910245 #
4. lukeschlather ◴[] No.41896898{3}[source]
In a perfect world, what Syncthing does would be handled at the OS level and all OSes would seamlessly interoperate. In the real world the OS vendors are hostile to interoperability so the only way to get that is with a third-party tool that has OS-level access.
replies(2): >>41896996 #>>41897865 #
5. smashed ◴[] No.41896917[source]
It's my phone. It's my data. It's my choice to install the app. It's my choice to grant the permissions to all files. Because guess what, I'm using the app to sync all my files.

I really can't agree with Google in this particular case.

replies(6): >>41896988 #>>41897081 #>>41897176 #>>41897744 #>>41898751 #>>41899325 #
6. izacus ◴[] No.41896988[source]
And yet you'll blame Android when some app steals a lot of data just like it always happens on this site.
replies(1): >>41897460 #
7. izacus ◴[] No.41896996{4}[source]
There are Android APIs to let syncthing integrate as cloud provider itself and the author didn't use those either.
8. sdoering ◴[] No.41897081[source]
I couldn't agree more. Given how much frigging hoops I had to jump through to get my Obsidian over syncthing setup to sync with my company iPhone - I nearly gave up.

I grew up when computers didn't babysit me and tried to act like the good old GDR, knowing every thing better than their citicens.

Nowadays, I feel more and more hindered by computers, not enabled. Computers used to be a production device (I could create things with them).

Phones are not a computer - phones are a just "consume like we want you to" device.

The problem is, I want my phone to be a creation device. A device that allows me to create content, text, to do lists, shopping lists, ideas and store them. And(!) sync them using the tools I decide to use. And not force me to use tools I friggin hate, because they just don't get the job done.

replies(2): >>41897115 #>>41897622 #
9. sdoering ◴[] No.41897098{3}[source]
No. Not in my world. Because I actually want to be able to backup my phone - not only demarcated parts of it.

I want to be able to get all data from my phone - regardless of what it is and what app put it there.

If I decide to only sync specific folders. So be it. But I want to be able to sync "/"

10. beeflet ◴[] No.41897111[source]
It's an open-source program, it shouldn't be held to the same standards as a closed-source program that just shuttles all of your data to someone else's computer.

The risk here isn't misuse of the data, it's that some exploit is found in the code, and the additional protection of limiting its filesystem access is marginal (but nice to have).

11. Philpax ◴[] No.41897115{3}[source]
How did you get iPhone Syncthing + Obsidian working? I was under the impression that it was basically impossible to share Möbius Sync's directory with Obsidian.
replies(2): >>41897574 #>>41899305 #
12. maxboone ◴[] No.41897176[source]
That's why you can install through F-Droid right?
13. swatcoder ◴[] No.41897460{3}[source]
Have you considered that it's a plural "you" that you're choosing to pit yourself against, with different people each weighing different complaints?

Almost by definition, the people who argue strongly for free use of their hardware and software are almost never the same people who argue strongly for safety and security restrictions. You seem to be frustrated by a contradiction or inconsistency that doesn't exist.

It's true that Google can't win the hearts of both sides, but they surely know that -- you don't need to get so personally frustrated on their behalf. It's just a company with a product in a market, and the market is never going to be uniform.

14. aborsy ◴[] No.41897574{4}[source]
There is a new app Synctrain which does this.
15. skydhash ◴[] No.41897622{3}[source]
I gave up. My phone now is just a communication and utility device, and thus I don’t feel the urge to upgrade until it can’t do those tasks. I went back to computers (and Linux) to be able to just use them as a computer.
replies(1): >>41898451 #
16. sigh_again ◴[] No.41897744[source]
The java.io.File API isn't removed from Android, nor inaccessible. You can absolutely still use it. Google Play has chosen to not accept it on their store unless you justify it (to their non working bots). In this case, the dev chooses to just drop the entire app because maintaining it just for Fdroid feels pointless.

There's very few permissions on android that are system/privileged/preinstalled.

17. pmontra ◴[] No.41897753{3}[source]
I want it to be able to browse to another app's private folder to sync the data of that app to my computer. If browsing to there it's not the job of syncthing then I need a file manager with those permissions.
18. andrepd ◴[] No.41897758{3}[source]
For 3 years now I can't open my Downloads or Pictures folder without root, because their shitty API is unbelievely bad that it would take around 30 minutes to open a folder with that many files.
19. evilduck ◴[] No.41897865{4}[source]
In reality, Syncthing is also pretty good at destroying battery life unless you go above and beyond to configure it in a way that then hampers Syncthing's ability to provide seamless file continuity between devices. I know that there will be disagreement here, but in my own opinion OS vendors are correct in being hostile to these apps under current circumstances. They could provide better ways to have third parties implement it and provide cross platform support for their platform solutions, but I've had Syncthing be the #1 cause of battery life drain on multiple devices and platforms before and it's honestly just not worth fighting with it. To get it under control relegates it to being not much better than rsync.
replies(1): >>41898072 #
20. tw04 ◴[] No.41898012[source]
So Google drive doesn’t have full filesystem access anymore?
21. Zak ◴[] No.41898072{5}[source]
I think it's important to draw a distinction between OS providers and app store providers here. The fact that they're the same entity in most cases is or should be largely irrelevant.

OS vendors shouldn't make it impossible to create apps that have unlimited access to the filesystem or that suck battery in the background. There are reasons users might want to run apps that do either or both - a file indexer, for example. All the OS should do is ask the user if the app has permission to do those things.

An app store provider on the other hand might reasonably have many criteria for inclusion, such as F-Droid only allowing FOSS. This only becomes problematic when the app store in question is effectively a monopoly.

22. out_of_protocol ◴[] No.41898414{3}[source]
> Seems like a perfect fit for SAF.

Except SAF is slow as hell, working on multiple files means separate calls for every little thing like file size via java API. Means everything going to be VERY slow and drain battery a lot. I've seen test from 2019 where directory listing operation is 25-50 times slower in SAF

https://issuetracker.google.com/issues/130261278

23. trav4225 ◴[] No.41898451{4}[source]
Same. I wish there were an alternative (a practical pocket computer), but there really isn't. So I too gave up on fighting my phone, and have also completely stopped doing mobile development. I now treat my phone essentially as an untrusted, prepackaged walled garden with limited utility. :-/
replies(2): >>41899196 #>>41900960 #
24. growse ◴[] No.41898751[source]
You don't have root. Google does.

I'm not saying that's a good thing, but it's not exactly a secret when you bought it.

25. fsflover ◴[] No.41899196{5}[source]
> I wish there were an alternative (a practical pocket computer), but there really isn't.

There really is: https://puri.sm/products/librem-5.

And it's my daily driver.

replies(1): >>41909637 #
26. JADev62096 ◴[] No.41899305{4}[source]
Got it working myself. I set up a share inside of Mobius Sync that reaches into the Obsidian folder. (note the entire thing, just one vault). I think there was a popup saying it was unsupported but I haven't had any problems yet.
27. wruza ◴[] No.41899325[source]
That’s still not your product though. You only bought a licence.

Flash your favorite open firmware, enjoy and let regular users who cannot do that avoid permission extortion. The world has needs and issues, it is not spinning around your skillset.

28. aerique ◴[] No.41900960{5}[source]
I use Sailfish OS as my daily driver since 2013.

https://en.m.wikipedia.org/wiki/Sailfish_OS

replies(1): >>41909634 #
29. trav4225 ◴[] No.41909634{6}[source]
Thanks for the info. I haven't looked at this in a while. I'll take another look!
30. trav4225 ◴[] No.41909637{6}[source]
Appreciate the feedback. For some reason I feel like I dismissed this as an option at one point, but that was long ago. I'll take another look!
31. brokenmachine ◴[] No.41910245{3}[source]
I use syncthing to back up my entire Android phone.

At least the parts it can access, anyway: /storage/emulated/0