Can't lock nor force lock on MacOS

Hi!

I’m on a fresh install runnning under MacOS 13.0 on a M1. FUSE version 4.4.1. While trying to lock my newly created vault I get an error that I can’t lock due to ongoing operations or open files. There are no open files, and should be no ongoing operations.

When I retry I get the same result, and also when I try to force lock.

However, if I unmount from Finder there are no errors what so ever.

And ideas on this?

/Paul

10:12:27.724 [JavaFX Application Thread] DEBUG o.c.common.vaults.VaultStats - stop recording stats
10:12:27.728 [JavaFX Application Thread] DEBUG o.c.ui.fxapp.FxApplicationWindows - Start lock workflow for test
10:12:27.729 [App Background Thread 009] TRACE o.c.f.fuse.locks.PathWLockImpl - Acquired write path lock for '[]'
10:12:27.729 [App Background Thread 009] TRACE o.c.f.fuse.locks.PathWLockImpl - Released write path lock for '[]'
10:12:27.770 [Thread-340] TRACE o.c.f.fuse.locks.PathRLockImpl - Acquired read path lock for '[]'
10:12:27.770 [Thread-340] TRACE o.c.f.fuse.locks.DataRLockImpl - Acquired read data lock for '[]'
10:12:27.771 [Thread-340] TRACE o.c.frontend.fuse.ReadOnlyAdapter - getattr / (lastModifiedTime: 2022-11-11T09:05:17Z, lastAccessTime: 2022-11-11T09:05:17Z, creationTime: 2022-11-11T09:04:10Z, isRegularFile: false, isDirectory: true, isSymbolicLink: false, isOther: false, size: 96, fileKey: (dev=1000011,ino=20302002))
10:12:27.771 [Thread-340] TRACE o.c.f.fuse.locks.DataRLockImpl - Released read data lock for '[]'
10:12:27.771 [Thread-340] TRACE o.c.f.fuse.locks.PathRLockImpl - Released read path lock for '[]'
10:12:27.771 [Thread-341] TRACE o.c.frontend.fuse.ReadOnlyAdapter - statfs / (23346786304 / 245107195904)
10:12:27.772 [App Background Thread 009] INFO  o.cryptomator.ui.lock.LockWorkflow - Locking test failed (forced: false).
org.cryptomator.common.vaults.Volume$VolumeException: org.cryptomator.frontend.fuse.mount.FuseMountException: Unmount failed. STDERR: umount: unmount(/Volumes/test (wu7Q_Yk3UBBL)): Operation not permitted

	at org.cryptomator.desktop@1.6.15/org.cryptomator.common.vaults.FuseVolume.unmount(FuseVolume.java:106)
	at org.cryptomator.desktop@1.6.15/org.cryptomator.common.vaults.Vault.lock(Vault.java:178)
	at org.cryptomator.desktop@1.6.15/org.cryptomator.ui.lock.LockWorkflow.lock(LockWorkflow.java:63)
	at org.cryptomator.desktop@1.6.15/org.cryptomator.ui.lock.LockWorkflow.call(LockWorkflow.java:57)
	at org.cryptomator.desktop@1.6.15/org.cryptomator.ui.lock.LockWorkflow.call(LockWorkflow.java:34)
	at javafx.graphics@18.0.2/javafx.concurrent.Task$TaskCallable.call(Task.java:1426)
	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
	at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)
Caused by: org.cryptomator.frontend.fuse.mount.FuseMountException: Unmount failed. STDERR: umount: unmount(/Volumes/test (wu7Q_Yk3UBBL)): Operation not permitted

	at org.cryptomator.frontend.fuse@1.3.4/org.cryptomator.frontend.fuse.mount.MacMounter$MacMount.assertUmountSucceeded(MacMounter.java:158)
	at org.cryptomator.frontend.fuse@1.3.4/org.cryptomator.frontend.fuse.mount.MacMounter$MacMount.unmountInternal(MacMounter.java:132)
	at org.cryptomator.frontend.fuse@1.3.4/org.cryptomator.frontend.fuse.mount.AbstractMount.unmount(AbstractMount.java:36)
	at org.cryptomator.desktop@1.6.15/org.cryptomator.common.vaults.FuseVolume.unmount(FuseVolume.java:104)
	... 10 common frames omitted
10:12:27.781 [JavaFX Application Thread] DEBUG o.c.ui.fxapp.FxApplicationWindows - visible windows: 3
10:12:28.656 [App Background Thread 009] TRACE o.c.f.fuse.locks.PathWLockImpl - Acquired write path lock for '[]'
10:12:28.656 [JavaFX Application Thread] DEBUG o.c.ui.fxapp.FxApplicationWindows - visible windows: 2
10:12:28.656 [App Background Thread 009] TRACE o.c.f.fuse.locks.PathWLockImpl - Released write path lock for '[]'
10:12:28.663 [Thread-342] TRACE o.c.frontend.fuse.ReadOnlyAdapter - statfs / (23346782208 / 245107195904)
10:12:28.663 [App Background Thread 009] INFO  o.cryptomator.ui.lock.LockWorkflow - Locking test failed (forced: false).
org.cryptomator.common.vaults.Volume$VolumeException: org.cryptomator.frontend.fuse.mount.FuseMountException: Unmount failed. STDERR: umount: unmount(/Volumes/test (wu7Q_Yk3UBBL)): Operation not permitted

	at org.cryptomator.desktop@1.6.15/org.cryptomator.common.vaults.FuseVolume.unmount(FuseVolume.java:106)
	at org.cryptomator.desktop@1.6.15/org.cryptomator.common.vaults.Vault.lock(Vault.java:178)
	at org.cryptomator.desktop@1.6.15/org.cryptomator.ui.lock.LockWorkflow.lock(LockWorkflow.java:63)
	at org.cryptomator.desktop@1.6.15/org.cryptomator.ui.lock.LockWorkflow.retryOrCancel(LockWorkflow.java:73)
	at org.cryptomator.desktop@1.6.15/org.cryptomator.ui.lock.LockWorkflow.lock(LockWorkflow.java:66)
	at org.cryptomator.desktop@1.6.15/org.cryptomator.ui.lock.LockWorkflow.call(LockWorkflow.java:57)
	at org.cryptomator.desktop@1.6.15/org.cryptomator.ui.lock.LockWorkflow.call(LockWorkflow.java:34)
	at javafx.graphics@18.0.2/javafx.concurrent.Task$TaskCallable.call(Task.java:1426)
	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
	at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)
Caused by: org.cryptomator.frontend.fuse.mount.FuseMountException: Unmount failed. STDERR: umount: unmount(/Volumes/test (wu7Q_Yk3UBBL)): Operation not permitted

	at org.cryptomator.frontend.fuse@1.3.4/org.cryptomator.frontend.fuse.mount.MacMounter$MacMount.assertUmountSucceeded(MacMounter.java:158)
	at org.cryptomator.frontend.fuse@1.3.4/org.cryptomator.frontend.fuse.mount.MacMounter$MacMount.unmountInternal(MacMounter.java:132)
	at org.cryptomator.frontend.fuse@1.3.4/org.cryptomator.frontend.fuse.mount.AbstractMount.unmount(AbstractMount.java:36)
	at org.cryptomator.desktop@1.6.15/org.cryptomator.common.vaults.FuseVolume.unmount(FuseVolume.java:104)
	... 12 common frames omitted
10:12:28.668 [JavaFX Application Thread] DEBUG o.c.ui.fxapp.FxApplicationWindows - visible windows: 3
10:12:30.940 [JavaFX Application Thread] DEBUG o.c.ui.fxapp.FxApplicationWindows - visible windows: 2
10:12:30.979 [Thread-343] TRACE o.c.f.fuse.locks.PathRLockImpl - Acquired read path lock for '[]'
10:12:30.980 [Thread-343] TRACE o.c.f.fuse.locks.DataRLockImpl - Acquired read data lock for '[]'
10:12:30.980 [Thread-343] TRACE o.c.frontend.fuse.ReadOnlyAdapter - getattr / (lastModifiedTime: 2022-11-11T09:05:17Z, lastAccessTime: 2022-11-11T09:05:17Z, creationTime: 2022-11-11T09:04:10Z, isRegularFile: false, isDirectory: true, isSymbolicLink: false, isOther: false, size: 96, fileKey: (dev=1000011,ino=20302002))
10:12:30.980 [Thread-343] TRACE o.c.f.fuse.locks.DataRLockImpl - Released read data lock for '[]'
10:12:30.980 [Thread-343] TRACE o.c.f.fuse.locks.PathRLockImpl - Released read path lock for '[]'
10:12:30.981 [Thread-344] TRACE o.c.frontend.fuse.ReadOnlyAdapter - statfs / (23346786304 / 245107195904)
10:12:30.981 [App Background Thread 009] INFO  o.cryptomator.ui.lock.LockWorkflow - Locking test failed (forced: true).
org.cryptomator.common.vaults.Volume$VolumeException: org.cryptomator.frontend.fuse.mount.FuseMountException: Unmount failed. STDERR: umount: unmount(/Volumes/test (wu7Q_Yk3UBBL)): Operation not permitted

	at org.cryptomator.desktop@1.6.15/org.cryptomator.common.vaults.FuseVolume.unmountForced(FuseVolume.java:96)
	at org.cryptomator.desktop@1.6.15/org.cryptomator.common.vaults.Vault.lock(Vault.java:176)
	at org.cryptomator.desktop@1.6.15/org.cryptomator.ui.lock.LockWorkflow.lock(LockWorkflow.java:63)
	at org.cryptomator.desktop@1.6.15/org.cryptomator.ui.lock.LockWorkflow.retryOrCancel(LockWorkflow.java:73)
	at org.cryptomator.desktop@1.6.15/org.cryptomator.ui.lock.LockWorkflow.lock(LockWorkflow.java:66)
	at org.cryptomator.desktop@1.6.15/org.cryptomator.ui.lock.LockWorkflow.retryOrCancel(LockWorkflow.java:73)
	at org.cryptomator.desktop@1.6.15/org.cryptomator.ui.lock.LockWorkflow.lock(LockWorkflow.java:66)
	at org.cryptomator.desktop@1.6.15/org.cryptomator.ui.lock.LockWorkflow.call(LockWorkflow.java:57)
	at org.cryptomator.desktop@1.6.15/org.cryptomator.ui.lock.LockWorkflow.call(LockWorkflow.java:34)
	at javafx.graphics@18.0.2/javafx.concurrent.Task$TaskCallable.call(Task.java:1426)
	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
	at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)
Caused by: org.cryptomator.frontend.fuse.mount.FuseMountException: Unmount failed. STDERR: umount: unmount(/Volumes/test (wu7Q_Yk3UBBL)): Operation not permitted

	at org.cryptomator.frontend.fuse@1.3.4/org.cryptomator.frontend.fuse.mount.MacMounter$MacMount.assertUmountSucceeded(MacMounter.java:158)
	at org.cryptomator.frontend.fuse@1.3.4/org.cryptomator.frontend.fuse.mount.MacMounter$MacMount.unmountForcedInternal(MacMounter.java:144)
	at org.cryptomator.frontend.fuse@1.3.4/org.cryptomator.frontend.fuse.mount.AbstractMount.unmountForced(AbstractMount.java:41)
	at org.cryptomator.desktop@1.6.15/org.cryptomator.common.vaults.FuseVolume.unmountForced(FuseVolume.java:94)
	... 14 common frames omitted
10:12:30.987 [JavaFX Application Thread] DEBUG o.c.ui.fxapp.FxApplicationWindows - visible windows: 3
10:12:37.733 [Thread-345] TRACE o.c.f.fuse.locks.PathRLockImpl - Acquired read path lock for '[]'
10:12:37.733 [Thread-345] TRACE o.c.f.fuse.locks.DataRLockImpl - Acquired read data lock for '[]'
10:12:37.734 [Thread-345] TRACE o.c.frontend.fuse.ReadOnlyAdapter - getattr / (lastModifiedTime: 2022-11-11T09:05:17Z, lastAccessTime: 2022-11-11T09:05:17Z, creationTime: 2022-11-11T09:04:10Z, isRegularFile: false, isDirectory: true, isSymbolicLink: false, isOther: false, size: 96, fileKey: (dev=1000011,ino=20302002))
10:12:37.734 [Thread-345] TRACE o.c.f.fuse.locks.DataRLockImpl - Released read data lock for '[]'
10:12:37.734 [Thread-345] TRACE o.c.f.fuse.locks.PathRLockImpl - Released read path lock for '[]'

The problem seems to be relate to FUSE somehow. If I mount the vault using WebDAV instead of FUSE I can unmount without problems.

© 2022 Skymatic GmbH • Privacy PolicyImpressum