-
Notifications
You must be signed in to change notification settings - Fork 258
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use provided SFTP paths if enumeration fails #1793
base: main
Are you sure you want to change the base?
Conversation
I suspect the change in #1801 might actually be more on track here — previously, GSConnect always tried to mount So, if The impression I get is that, even if multiple shared locations are configured (which doesn't appear to be possible on Android 11+ anymore, the preferences for doing that are totally gone in the Android app)... but even if multiple locations are configured, they're meant to be accessed directly and separately, not by mounting and listing |
This versus #1801 is swings and roundabouts, I think. If we mount I'd be tempted to merge this for now (since I don't think it has any drawbacks compared to what we currently have). When someone finds time, they can look at reworking the code to mount each item in |
It’s common to encounter a “permission denied” error when trying to list the available paths.
Although it doesn't solve all the problems, I still think this is beneficial and worth merging. |
Here's the problem with this, I've discovered: You can't mount It SUUUUUUUCKS, but it's how GVFS works. It won't let us mount subpaths, and it won't let us mount multiple separate paths on the same remote host. So I really don't know how to address this in a clean and user-friendly manner. The only thing I can think of is some sort of hybrid mount setup where we mount the remote root, then create a local directory ( |
(This would also be a lot easier if Nautilus still supported |
With this patch, the user can go “System menu → GSConnect → Files” to see a list of shared folders that they can click on to open in Nautilus. This is better than nothing (but see also #1794). So that I can access the mount-point directly from Nautilus/the GTK file selector, I have manually created a bookmark for |
We could replace the existing |
We could create such bookmarks automatically by appending to
But, again, this is a task for a different pull request. |
In #1610 (comment), Andy Holmes wrote:
This is that patch, to fall back to the advertised paths.