Sebastian Stenzel 3 年之前
父节点
当前提交
407718d0a1
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/main/java/org/cryptomator/ipc/Server.java

+ 1 - 0
src/main/java/org/cryptomator/ipc/Server.java

@@ -27,6 +27,7 @@ class Server implements IpcCommunicator {
 	}
 
 	public static Server create(Path socketPath) throws IOException {
+		Files.createDirectories(socketPath.getParent());
 		var address = UnixDomainSocketAddress.of(socketPath);
 		var serverSocketChannel = ServerSocketChannel.open(StandardProtocolFamily.UNIX);
 		serverSocketChannel.bind(address);