mirror of
https://github.com/cryptomator/cryptomator.git
synced 2026-05-22 04:31:27 +00:00
remove PosixFilePermissions
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user