From 81307b6d7514d9d4250615251302b36e75810585 Mon Sep 17 00:00:00 2001 From: Jan-Peter Klein Date: Wed, 2 Jul 2025 11:26:05 +0200 Subject: [PATCH] remove PosixFilePermissions --- .../org/cryptomator/common/recovery/RecoveryDirectory.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/main/java/org/cryptomator/common/recovery/RecoveryDirectory.java b/src/main/java/org/cryptomator/common/recovery/RecoveryDirectory.java index 24b91d476..b8244c9e9 100644 --- a/src/main/java/org/cryptomator/common/recovery/RecoveryDirectory.java +++ b/src/main/java/org/cryptomator/common/recovery/RecoveryDirectory.java @@ -24,10 +24,7 @@ public final class RecoveryDirectory implements AutoCloseable { } public static RecoveryDirectory create(Path vaultPath) throws IOException { - FileAttribute attr = PosixFilePermissions.asFileAttribute( - PosixFilePermissions.fromString("rwx------") - ); - Path tempDir = Files.createTempDirectory("cryptomator", attr); + Path tempDir = Files.createTempDirectory("cryptomator"); return new RecoveryDirectory(vaultPath, tempDir); }