소스 검색

make sure the directory containing temporary mount points exists

Sebastian Stenzel 6 년 전
부모
커밋
be5fce0ee9
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      main/ui/src/main/java/org/cryptomator/ui/model/FuseVolume.java

+ 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 {