Explorar o código

make sure the directory containing temporary mount points exists

Sebastian Stenzel %!s(int64=6) %!d(string=hai) anos
pai
achega
be5fce0ee9

+ 1 - 0
main/ui/src/main/java/org/cryptomator/ui/model/FuseVolume.java

@@ -71,6 +71,7 @@ public class FuseVolume implements Volume {
 
 	private Path createTemporaryMountPoint() throws IOException {
 		Path parent = environment.getMountPointsDir().orElseThrow();
+		Files.createDirectories(parent);
 		String basename = vaultSettings.getId();
 		for (int i = 0; i < MAX_TMPMOUNTPOINT_CREATION_RETRIES; i++) {
 			try {