Skip to content
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

Mounting on linux systems with KDE #34

Open
infeo opened this issue Jan 18, 2021 · 3 comments
Open

Mounting on linux systems with KDE #34

infeo opened this issue Jan 18, 2021 · 3 comments
Labels

Comments

@infeo
Copy link
Member

infeo commented Jan 18, 2021

Description

Even if gio or gvfs is installed on the regarding system, if one uses KDE as the desktop environment a filesystem cannot be mounted. By calling mount(), the following stacktrace is shown:

Caused by: org.cryptomator.frontend.webdav.mount.Mounter$CommandFailedException: Command failed with exit code 2. Expected 0. Stderr: gio: webdav://localhost:42427/qbZJ29z6d546/asd: volume doesn’t implement mount

	at org.cryptomator.frontend.webdav.mount.ProcessUtil.assertExitValue(ProcessUtil.java:28)
	at org.cryptomator.frontend.webdav.mount.LinuxGioMounter.mount(LinuxGioMounter.java:39)
	at org.cryptomator.frontend.webdav.servlet.WebDavServletController.mount(WebDavServletController.java:102)
	at org.cryptomator.common.vaults.WebDavVolume.mount(WebDavVolume.java:62)
	... 12 more

The adapter uses the gio tool to mount the (local) network location, but for KDE it relied on the quite old and unmainted KIO-GIO package, which seems to lost functionality in newer KDE versions.

The problem of mounting network locations with KDE persisted for a long time, see https://bugs.kde.org/show_bug.cgi?id=75324. Since beginning of this year there exists a new approach with KIO-FUSE, but it is not included in the standard packages sources yet (and does not look 100% stable).

Remark

This is the upstream issue for cryptomator/cryptomator#1381

@infeo infeo added the bug label Jan 18, 2021
infeo added a commit that referenced this issue Jan 18, 2021
@infeo infeo changed the title Mounting on linux systems using KDE Mounting on linux systems with KDE Jan 19, 2021
@overheadhunter
Copy link
Member

overheadhunter commented Feb 18, 2021

https://bugs.kde.org/show_bug.cgi?id=75324 is now fixed. Can we re-enable mounting via gvfs on KDE?

@infeo
Copy link
Member Author

infeo commented Feb 18, 2021

If we implement a new mounter which uses kio-fuse, then mounting on KDE can be re-enabled. The gio/gvfs mounter are not applicable anymore for KDE, see the discussion in the KDE issue.

@overheadhunter
Copy link
Member

I see. Well not a high prio issue, since FUSE is included in basically every Linux nowadays.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants