org.cryptomator.frontend.FrontendCreationFailedException

java.io.UncheckedIOException: java.io.IOException: Permission denied

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web2

  • java.io.UncheckedIOException: java.io.IOException: Permission denied
  • java.io.UncheckedIOException: java.nio.file.AccessDeniedException: /.../Test/masterkey.cryptomator
  • Stack trace

    • org.cryptomator.frontend.FrontendCreationFailedException: java.io.UncheckedIOException: java.io.IOException: Permission denied at org.cryptomator.ui.model.Vault.activateFrontend(Vault.java:143)[Cryptomator-1.1.4.jar:1.1.4] at org.cryptomator.ui.controllers.UnlockController.unlock(UnlockController.java:283)[Cryptomator-1.1.4.jar:1.1.4] at org.cryptomator.ui.controllers.UnlockController.lambda$didClickUnlockButton$0(UnlockController.java:278)[Cryptomator-1.1.4.jar:1.1.4] at org.cryptomator.ui.util.AsyncTaskService.lambda$asyncTaskOf$0(AsyncTaskService.java:32)[Cryptomator-1.1.4.jar:1.1.4] at org.cryptomator.ui.util.AsyncTaskService$AsyncTaskImpl.lambda$null$6(AsyncTaskService.java:89)[Cryptomator-1.1.4.jar:1.1.4] at org.cryptomator.ui.util.AsyncTaskService.logExceptions(AsyncTaskService.java:118)[Cryptomator-1.1.4.jar:1.1.4] at org.cryptomator.ui.util.AsyncTaskService.access$100(AsyncTaskService.java:19)[Cryptomator-1.1.4.jar:1.1.4] at org.cryptomator.ui.util.AsyncTaskService$AsyncTaskImpl.lambda$run$7(AsyncTaskService.java:87)[Cryptomator-1.1.4.jar:1.1.4] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[?:1.8.0_102] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[?:1.8.0_102] at java.lang.Thread.run(Thread.java:745)[?:1.8.0_102] Caused by: java.io.UncheckedIOException: java.io.IOException: Permission denied at org.cryptomator.filesystem.nio.SharedFileChannel.truncate(SharedFileChannel.java:124)[filesystem-nio-1.1.4.jar:?] at org.cryptomator.filesystem.nio.WritableNioFile.truncate(WritableNioFile.java:56)[filesystem-nio-1.1.4.jar:?] at org.cryptomator.filesystem.Copier.copy(Copier.java:39)[filesystem-api-1.1.4.jar:?] at org.cryptomator.filesystem.File.copyTo(File.java:73)[filesystem-api-1.1.4.jar:?] at org.cryptomator.filesystem.delegating.DelegatingFile.copyTo(DelegatingFile.java:46)[filesystem-api-1.1.4.jar:?] at org.cryptomator.filesystem.crypto.Masterkeys.backup(Masterkeys.java:82)[filesystem-crypto-1.1.4.jar:?] at org.cryptomator.filesystem.crypto.CryptoFileSystemFactory.unlockExisting(CryptoFileSystemFactory.java:45)[filesystem-crypto-1.1.4.jar:?] at org.cryptomator.ui.model.Vault.activateFrontend(Vault.java:134)[Cryptomator-1.1.4.jar:1.1.4] ... 10 more Caused by: java.io.IOException: Permission denied at sun.nio.ch.FileDispatcherImpl.truncate0(Native Method)[?:1.8.0_102] at sun.nio.ch.FileDispatcherImpl.truncate(FileDispatcherImpl.java:80)[?:1.8.0_102] at sun.nio.ch.SimpleAsynchronousFileChannelImpl.truncate(SimpleAsynchronousFileChannelImpl.java:142)[?:1.8.0_102] at org.cryptomator.filesystem.nio.SharedFileChannel.truncate(SharedFileChannel.java:122)[filesystem-nio-1.1.4.jar:?] ... 17 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago