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

Cryptomator 1.6.7 Unable to Mount with Custom Mount Path with WinFSP #2126

Closed
2 tasks done
aeajunebug opened this issue Mar 25, 2022 · 4 comments
Closed
2 tasks done
Labels
Milestone

Comments

@aeajunebug
Copy link

aeajunebug commented Mar 25, 2022

Please agree to the following

Summary

Unable to mount with chosen custom mount path

What software is involved?

  • Operating System: Windows 10 21H2 build 19044.1586
  • Cryptomator: 1.6.7
  • WinFSP: 1.10.22006

Volume Type

FUSE

Steps to Reproduce

  1. Create an empty folder.
  2. Choose that folder as a custom mouth path for a vault.
  3. Unlock the vault.

Expected Behavior

The vault shoud be mounted with the custom path.

Actual Behavior

The vault is mounted with a drive letter, shown as a partion in Windows Explorer.

Reproducibility

Always

Relevant Log Output

00:52:30.842 [main] INFO  org.cryptomator.launcher.Cryptomator - Starting Cryptomator SNAPSHOT on Windows 10 10.0 (amd64)
00:52:30.848 [main] DEBUG org.cryptomator.logging.DebugMode - Debug mode enabled
00:52:30.938 [main] INFO  org.cryptomator.ipc.Server - Spawning IPC server listening on socket C:\Users\[hidden]\AppData\Roaming\Cryptomator\ipc.socket
00:52:31.034 [main] DEBUG o.c.launcher.IpcMessageHandler - Received launch args: 
00:52:31.036 [main] DEBUG org.cryptomator.launcher.Cryptomator - Did not find running application instance. Launching GUI...
00:52:31.295 [main] DEBUG org.cryptomator.common.CommonsModule - Starting App Scheduled Executor 01
00:52:31.298 [App Scheduled Executor 01] DEBUG org.cryptomator.common.CommonsModule - Starting App Scheduled Executor 02
00:52:31.450 [main] DEBUG o.c.ui.traymenu.TrayIconController - initialized tray icon
00:52:31.458 [main] DEBUG o.cryptomator.ui.launcher.UiLauncher - Showing application...
00:52:31.459 [main] DEBUG org.cryptomator.common.CommonsModule - Starting App Background Thread 001
00:52:31.460 [App Background Thread 001] DEBUG o.c.ui.launcher.FxApplicationStarter - Starting JavaFX runtime...
00:52:31.467 [main] DEBUG org.cryptomator.common.CommonsModule - Starting App Background Thread 002
00:52:31.874 [JavaFX Application Thread] INFO  o.c.ui.launcher.FxApplicationStarter - JavaFX Runtime started.
00:52:31.912 [JavaFX Application Thread] TRACE o.cryptomator.ui.fxapp.FxApplication - FxApplication.start()
00:52:32.778 [JavaFX Application Thread] DEBUG org.cryptomator.ui.common.FontLoader - Loaded family: Font Awesome 5 Free Solid
00:52:32.808 [JavaFX Application Thread] TRACE o.c.u.m.MainWindowTitleController - init MainWindowTitleController
00:52:33.103 [JavaFX Application Thread] TRACE o.c.ui.mainwindow.ResizeController - init ResizeController
00:52:33.110 [JavaFX Application Thread] TRACE o.c.u.m.MainWindowController - init MainWindowController
00:52:33.178 [JavaFX Application Thread] DEBUG o.cryptomator.ui.fxapp.FxApplication - has visible stages: true
00:52:33.699 [JavaFX Application Thread] DEBUG o.cryptomator.ui.fxapp.FxApplication - Showing MainWindow
00:52:35.259 [JavaFX Application Thread] DEBUG o.c.w.k.WindowsProtectedKeychainAccess - Attempting to load keychain from C:\Users\[hidden]\AppData\Roaming\Cryptomator\keychain.json
00:52:38.101 [App Scheduled Executor 01] DEBUG o.c.common.settings.SettingsProvider - Attempting to save settings to C:\Users\[hidden]\AppData\Roaming\Cryptomator\settings.json
00:52:38.120 [App Scheduled Executor 01] INFO  o.c.common.settings.SettingsProvider - Settings saved to C:\Users\[hidden]\AppData\Roaming\Cryptomator\settings.json
00:52:40.769 [JavaFX Application Thread] DEBUG o.c.common.vaults.VaultStats - stop recording stats
00:52:40.773 [JavaFX Application Thread] DEBUG o.c.ui.launcher.AppLifecycleListener - Allow quitting without prompt: false
00:52:40.793 [JavaFX Application Thread] DEBUG org.cryptomator.common.CommonsModule - Starting App Background Thread 003
00:52:40.793 [JavaFX Application Thread] DEBUG o.cryptomator.ui.fxapp.FxApplication - Start unlock workflow for Test
00:52:41.298 [App Background Thread 003] DEBUG o.c.cryptofs.common.BackupHelper - Verified backup file: D:\Test\masterkey.cryptomator.6B57BB0A.bkup
00:52:41.303 [App Background Thread 003] DEBUG o.c.cryptofs.common.BackupHelper - Verified backup file: D:\Test\vault.cryptomator.BB2B2C35.bkup
00:52:41.655 [App Background Thread 003] DEBUG o.cryptomator.cryptofs.ReadonlyFlag - Vault opened for read and write.
00:52:41.758 [App Background Thread 003] TRACE o.c.f.fuse.mount.WindowsMounter - Found WinFsp installation at C:\Program Files (x86)\WinFsp\bin\winfsp-x64.dll
00:52:42.155 [fuseMount-0-main] TRACE o.c.frontend.fuse.ReadOnlyAdapter - statfs / (86610669568 / 1000167436288)
00:52:42.161 [fuseMount-0-main] TRACE o.c.frontend.fuse.locks.LockManager - Creating ReadWriteLock for []
00:52:42.164 [fuseMount-0-main] TRACE o.c.f.fuse.locks.PathRLockImpl - Acquired read path lock for '[]'
00:52:42.164 [fuseMount-0-main] TRACE o.c.frontend.fuse.locks.LockManager - Creating ReadWriteLock for []
00:52:42.165 [fuseMount-0-main] TRACE o.c.f.fuse.locks.DataRLockImpl - Acquired read data lock for '[]'
00:52:42.169 [JavaFX Application Thread] INFO  o.c.ui.unlock.UnlockWorkflow - Unlock of 'Test' succeeded.
00:52:42.171 [JavaFX Application Thread] DEBUG o.c.common.vaults.VaultStats - start recording stats
00:52:42.174 [fuseMount-0-main] TRACE o.c.frontend.fuse.ReadOnlyAdapter - getattr / (lastModifiedTime: 2022-03-24T23:50:04.880965Z, lastAccessTime: 2022-03-25T16:52:41.6427696Z, creationTime: 2022-03-24T23:22:01.4052582Z, isRegularFile: false, isDirectory: true, isSymbolicLink: false, isOther: false, size: 0, fileKey: null)
00:52:42.181 [fuseMount-0-main] TRACE o.c.f.fuse.locks.DataRLockImpl - Released read data lock for '[]'
00:52:42.182 [fuseMount-0-main] TRACE o.c.f.fuse.locks.PathRLockImpl - Released read path lock for '[]'
00:52:42.229 [JavaFX Application Thread] DEBUG org.cryptomator.common.CommonsModule - Starting App Background Thread 004
00:52:43.231 [JavaFX Application Thread] DEBUG org.cryptomator.common.CommonsModule - Starting App Background Thread 005
00:52:44.166 [JavaFX Application Thread] TRACE o.c.u.unlock.UnlockSuccessController - UnlockSuccessController.close()
00:52:44.231 [JavaFX Application Thread] DEBUG org.cryptomator.common.CommonsModule - Starting App Background Thread 006
00:52:45.759 [Thread-14] TRACE o.c.frontend.fuse.ReadOnlyAdapter - statfs / (86610669568 / 1000167436288)
00:52:45.762 [Thread-15] TRACE o.c.f.fuse.locks.PathRLockImpl - Acquired read path lock for '[]'
00:52:45.764 [Thread-15] TRACE o.c.f.fuse.locks.DataRLockImpl - Acquired read data lock for '[]'
00:52:45.765 [Thread-15] TRACE o.c.frontend.fuse.ReadOnlyAdapter - getattr / (lastModifiedTime: 2022-03-24T23:50:04.880965Z, lastAccessTime: 2022-03-25T16:52:41.6427696Z, creationTime: 2022-03-24T23:22:01.4052582Z, isRegularFile: false, isDirectory: true, isSymbolicLink: false, isOther: false, size: 0, fileKey: null)
00:52:45.766 [Thread-15] TRACE o.c.f.fuse.locks.DataRLockImpl - Released read data lock for '[]'
00:52:45.766 [Thread-15] TRACE o.c.f.fuse.locks.PathRLockImpl - Released read path lock for '[]'
00:52:45.767 [Thread-16] TRACE o.c.frontend.fuse.locks.LockManager - Creating ReadWriteLock for [, autorun.inf]
00:52:45.768 [Thread-16] TRACE o.c.f.fuse.locks.PathRLockImpl - Acquired read path lock for '[]'
00:52:45.770 [Thread-16] TRACE o.c.f.fuse.locks.PathRLockImpl - Acquired read path lock for '[, autorun.inf]'
00:52:45.771 [Thread-16] TRACE o.c.frontend.fuse.locks.LockManager - Creating ReadWriteLock for [, autorun.inf]
00:52:45.771 [Thread-16] TRACE o.c.f.fuse.locks.DataRLockImpl - Acquired read data lock for '[, autorun.inf]'
00:52:45.785 [Thread-16] TRACE o.c.f.fuse.locks.DataRLockImpl - Released read data lock for '[, autorun.inf]'
00:52:45.786 [Thread-16] TRACE o.c.f.fuse.locks.PathRLockImpl - Released read path lock for '[, autorun.inf]'
00:52:45.786 [Thread-16] TRACE o.c.f.fuse.locks.PathRLockImpl - Released read path lock for '[]'
00:52:45.787 [Thread-16] TRACE o.c.frontend.fuse.ReadOnlyAdapter - getattr /autorun.inf failed, node not found
00:52:45.801 [Thread-17] TRACE o.c.f.fuse.locks.PathRLockImpl - Acquired read path lock for '[]'
00:52:45.802 [Thread-17] TRACE o.c.f.fuse.locks.PathRLockImpl - Acquired read path lock for '[, autorun.inf]'
00:52:45.802 [Thread-17] TRACE o.c.f.fuse.locks.DataRLockImpl - Acquired read data lock for '[, autorun.inf]'
00:52:45.803 [Thread-17] TRACE o.c.f.fuse.locks.DataRLockImpl - Released read data lock for '[, autorun.inf]'
00:52:45.803 [Thread-17] TRACE o.c.f.fuse.locks.PathRLockImpl - Released read path lock for '[, autorun.inf]'
00:52:45.804 [Thread-17] TRACE o.c.f.fuse.locks.PathRLockImpl - Released read path lock for '[]'
00:52:45.804 [Thread-17] TRACE o.c.frontend.fuse.ReadOnlyAdapter - getattr /autorun.inf failed, node not found
00:52:45.805 [Thread-18] TRACE o.c.f.fuse.locks.PathRLockImpl - Acquired read path lock for '[]'
00:52:45.805 [Thread-18] TRACE o.c.f.fuse.locks.DataRLockImpl - Acquired read data lock for '[]'
00:52:45.806 [Thread-18] TRACE o.c.frontend.fuse.ReadOnlyAdapter - getattr / (lastModifiedTime: 2022-03-24T23:50:04.880965Z, lastAccessTime: 2022-03-25T16:52:41.6427696Z, creationTime: 2022-03-24T23:22:01.4052582Z, isRegularFile: false, isDirectory: true, isSymbolicLink: false, isOther: false, size: 0, fileKey: null)
00:52:45.806 [Thread-18] TRACE o.c.f.fuse.locks.DataRLockImpl - Released read data lock for '[]'
00:52:45.806 [Thread-18] TRACE o.c.f.fuse.locks.PathRLockImpl - Released read path lock for '[]'
00:52:45.807 [Thread-19] TRACE o.c.f.fuse.locks.PathRLockImpl - Acquired read path lock for '[]'
00:52:45.807 [Thread-19] TRACE o.c.f.fuse.locks.PathRLockImpl - Acquired read path lock for '[, autorun.inf]'
00:52:45.808 [Thread-19] TRACE o.c.f.fuse.locks.DataRLockImpl - Acquired read data lock for '[, autorun.inf]'
00:52:45.809 [Thread-19] TRACE o.c.f.fuse.locks.DataRLockImpl - Released read data lock for '[, autorun.inf]'
00:52:45.809 [Thread-19] TRACE o.c.f.fuse.locks.PathRLockImpl - Released read path lock for '[, autorun.inf]'
00:52:45.809 [Thread-19] TRACE o.c.f.fuse.locks.PathRLockImpl - Released read path lock for '[]'
00:52:45.809 [Thread-19] TRACE o.c.frontend.fuse.ReadOnlyAdapter - getattr /autorun.inf failed, node not found
00:52:45.810 [Thread-20] TRACE o.c.f.fuse.locks.PathRLockImpl - Acquired read path lock for '[]'
00:52:45.811 [Thread-20] TRACE o.c.f.fuse.locks.PathRLockImpl - Acquired read path lock for '[, autorun.inf]'
00:52:45.811 [Thread-20] TRACE o.c.f.fuse.locks.DataRLockImpl - Acquired read data lock for '[, autorun.inf]'
00:52:45.812 [Thread-20] TRACE o.c.f.fuse.locks.DataRLockImpl - Released read data lock for '[, autorun.inf]'
00:52:45.812 [Thread-20] TRACE o.c.f.fuse.locks.PathRLockImpl - Released read path lock for '[, autorun.inf]'
00:52:45.812 [Thread-20] TRACE o.c.f.fuse.locks.PathRLockImpl - Released read path lock for '[]'
00:52:45.812 [Thread-20] TRACE o.c.frontend.fuse.ReadOnlyAdapter - getattr /autorun.inf failed, node not found
00:52:45.813 [Thread-21] TRACE o.c.f.fuse.locks.PathRLockImpl - Acquired read path lock for '[]'
00:52:45.813 [Thread-21] TRACE o.c.f.fuse.locks.DataRLockImpl - Acquired read data lock for '[]'
00:52:45.814 [Thread-21] TRACE o.c.frontend.fuse.ReadOnlyAdapter - getattr / (lastModifiedTime: 2022-03-24T23:50:04.880965Z, lastAccessTime: 2022-03-25T16:52:41.6427696Z, creationTime: 2022-03-24T23:22:01.4052582Z, isRegularFile: false, isDirectory: true, isSymbolicLink: false, isOther: false, size: 0, fileKey: null)
00:52:45.814 [Thread-21] TRACE o.c.f.fuse.locks.DataRLockImpl - Released read data lock for '[]'
00:52:45.814 [Thread-21] TRACE o.c.f.fuse.locks.PathRLockImpl - Released read path lock for '[]'
00:52:45.815 [Thread-22] TRACE o.c.f.fuse.locks.PathRLockImpl - Acquired read path lock for '[]'
00:52:45.815 [Thread-22] TRACE o.c.f.fuse.locks.PathRLockImpl - Acquired read path lock for '[, autorun.inf]'
00:52:45.815 [Thread-22] TRACE o.c.f.fuse.locks.DataRLockImpl - Acquired read data lock for '[, autorun.inf]'
00:52:45.816 [Thread-22] TRACE o.c.f.fuse.locks.DataRLockImpl - Released read data lock for '[, autorun.inf]'
00:52:45.816 [Thread-22] TRACE o.c.f.fuse.locks.PathRLockImpl - Released read path lock for '[, autorun.inf]'
00:52:45.816 [Thread-22] TRACE o.c.f.fuse.locks.PathRLockImpl - Released read path lock for '[]'
00:52:45.817 [Thread-22] TRACE o.c.frontend.fuse.ReadOnlyAdapter - getattr /autorun.inf failed, node not found
00:52:45.818 [Thread-23] TRACE o.c.f.fuse.locks.PathRLockImpl - Acquired read path lock for '[]'
00:52:45.818 [Thread-23] TRACE o.c.f.fuse.locks.PathRLockImpl - Acquired read path lock for '[, autorun.inf]'
00:52:45.818 [Thread-23] TRACE o.c.f.fuse.locks.DataRLockImpl - Acquired read data lock for '[, autorun.inf]'
00:52:45.819 [Thread-23] TRACE o.c.f.fuse.locks.DataRLockImpl - Released read data lock for '[, autorun.inf]'
00:52:45.819 [Thread-23] TRACE o.c.f.fuse.locks.PathRLockImpl - Released read path lock for '[, autorun.inf]'
00:52:45.819 [Thread-23] TRACE o.c.f.fuse.locks.PathRLockImpl - Released read path lock for '[]'
00:52:45.819 [Thread-23] TRACE o.c.frontend.fuse.ReadOnlyAdapter - getattr /autorun.inf failed, node not found
00:52:45.821 [Thread-24] TRACE o.c.f.fuse.locks.PathRLockImpl - Acquired read path lock for '[]'
00:52:45.821 [Thread-24] TRACE o.c.f.fuse.locks.DataRLockImpl - Acquired read data lock for '[]'
00:52:45.822 [Thread-24] TRACE o.c.frontend.fuse.ReadOnlyAdapter - getattr / (lastModifiedTime: 2022-03-24T23:50:04.880965Z, lastAccessTime: 2022-03-25T16:52:41.6427696Z, creationTime: 2022-03-24T23:22:01.4052582Z, isRegularFile: false, isDirectory: true, isSymbolicLink: false, isOther: false, size: 0, fileKey: null)
00:52:45.822 [Thread-24] TRACE o.c.f.fuse.locks.DataRLockImpl - Released read data lock for '[]'
00:52:45.822 [Thread-24] TRACE o.c.f.fuse.locks.PathRLockImpl - Released read path lock for '[]'
00:52:45.823 [Thread-25] TRACE o.c.f.fuse.locks.PathRLockImpl - Acquired read path lock for '[]'
00:52:45.823 [Thread-25] TRACE o.c.f.fuse.locks.DataRLockImpl - Acquired read data lock for '[]'
00:52:45.824 [Thread-25] TRACE o.c.frontend.fuse.ReadOnlyAdapter - getattr / (lastModifiedTime: 2022-03-24T23:50:04.880965Z, lastAccessTime: 2022-03-25T16:52:41.6427696Z, creationTime: 2022-03-24T23:22:01.4052582Z, isRegularFile: false, isDirectory: true, isSymbolicLink: false, isOther: false, size: 0, fileKey: null)
00:52:45.824 [Thread-25] TRACE o.c.f.fuse.locks.DataRLockImpl - Released read data lock for '[]'
00:52:45.824 [Thread-25] TRACE o.c.f.fuse.locks.PathRLockImpl - Released read path lock for '[]'
00:52:45.825 [Thread-26] TRACE o.c.f.fuse.locks.PathRLockImpl - Acquired read path lock for '[]'
00:52:45.826 [Thread-26] TRACE o.c.f.fuse.locks.DataRLockImpl - Acquired read data lock for '[]'
00:52:45.826 [Thread-26] TRACE o.c.frontend.fuse.ReadOnlyAdapter - getattr / (lastModifiedTime: 2022-03-24T23:50:04.880965Z, lastAccessTime: 2022-03-25T16:52:41.6427696Z, creationTime: 2022-03-24T23:22:01.4052582Z, isRegularFile: false, isDirectory: true, isSymbolicLink: false, isOther: false, size: 0, fileKey: null)
00:52:45.827 [Thread-26] TRACE o.c.f.fuse.locks.DataRLockImpl - Released read data lock for '[]'
00:52:45.827 [Thread-26] TRACE o.c.f.fuse.locks.PathRLockImpl - Released read path lock for '[]'
00:52:45.829 [Thread-27] TRACE o.c.frontend.fuse.locks.LockManager - Creating ReadWriteLock for [, AutoRun.inf]
00:52:45.829 [Thread-27] TRACE o.c.f.fuse.locks.PathRLockImpl - Acquired read path lock for '[]'
00:52:45.829 [Thread-27] TRACE o.c.f.fuse.locks.PathRLockImpl - Acquired read path lock for '[, AutoRun.inf]'
00:52:45.829 [Thread-27] TRACE o.c.frontend.fuse.locks.LockManager - Creating ReadWriteLock for [, AutoRun.inf]
00:52:45.830 [Thread-27] TRACE o.c.f.fuse.locks.DataRLockImpl - Acquired read data lock for '[, AutoRun.inf]'
00:52:45.831 [Thread-27] TRACE o.c.f.fuse.locks.DataRLockImpl - Released read data lock for '[, AutoRun.inf]'
00:52:45.831 [Thread-27] TRACE o.c.f.fuse.locks.PathRLockImpl - Released read path lock for '[, AutoRun.inf]'
00:52:45.831 [Thread-27] TRACE o.c.f.fuse.locks.PathRLockImpl - Released read path lock for '[]'
00:52:45.831 [Thread-27] TRACE o.c.frontend.fuse.ReadOnlyAdapter - getattr /AutoRun.inf failed, node not found
00:52:45.832 [Thread-28] TRACE o.c.f.fuse.locks.PathRLockImpl - Acquired read path lock for '[]'
00:52:45.832 [Thread-28] TRACE o.c.f.fuse.locks.PathRLockImpl - Acquired read path lock for '[, AutoRun.inf]'
00:52:45.833 [Thread-28] TRACE o.c.f.fuse.locks.DataRLockImpl - Acquired read data lock for '[, AutoRun.inf]'
00:52:45.833 [Thread-28] TRACE o.c.f.fuse.locks.DataRLockImpl - Released read data lock for '[, AutoRun.inf]'
00:52:45.833 [Thread-28] TRACE o.c.f.fuse.locks.PathRLockImpl - Released read path lock for '[, AutoRun.inf]'
00:52:45.833 [Thread-28] TRACE o.c.f.fuse.locks.PathRLockImpl - Released read path lock for '[]'
00:52:45.833 [Thread-28] TRACE o.c.frontend.fuse.ReadOnlyAdapter - getattr /AutoRun.inf failed, node not found

Anything else?

Windows has been recently installed. I have tried uninstalling and reinstalling Cryptomator, the problem persists. Dokan works fine.

@aeajunebug aeajunebug added the type:bug Something isn't working label Mar 25, 2022
@infeo
Copy link
Member

infeo commented Mar 29, 2022

@aeajunebug Can you upload the settings file located under C:\Users\[hidden]\AppData\Roaming\Cryptomator\settings.json? Also an excerpt with the settings of the vault in question would be sufficient.

@infeo infeo added state:awaiting-response We need further input from the issue author mount:fuse os:windows labels Mar 29, 2022
@tarkett2018
Copy link

@infeo I upload my settings.json. I have exactly the same problem. It does not matter if the folder exists or not.

settings.zip

@infeo
Copy link
Member

infeo commented Mar 29, 2022

@tarkett2018 Thanks for providing it.

After i looked at it and checked our code again, i noticed, that in the PR activating the mountpoint a certain method was not adjusted. This missing refactoring is responsible for not bein able to use a custom mountpoint with winfsp/fuse

@infeo infeo added this to the 1.6.8 milestone Mar 29, 2022
@infeo infeo removed the state:awaiting-response We need further input from the issue author label Mar 29, 2022
@infeo infeo closed this as completed in ef6f87b Mar 30, 2022
@tarkett2018
Copy link

@infeo Many thanks for the quick fix. Now it works fine 👍

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

3 participants