make sure the directory containing temporary mount points exists

This commit is contained in:
Sebastian Stenzel
2019-02-21 14:17:44 +01:00
parent 39f9da16f9
commit be5fce0ee9

View File

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