code: public static void createBlockPath(String path, String workerDataFolderPermissions)
        throws IOException {
      try {
        createStorageDirPath(PathUtils.getParent(path), workerDataFolderPermissions);
      } catch (InvalidPathException e) {
        throw new IOException("Failed to create block path, get parent path of " + path + "failed",
            e);
      } catch (IOException e) {
        throw new IOException("Failed to create block path " + path, e);
      }
    }
docs: Creates the local block path and all the parent directories. Also, sets the appropriate
  permissions.
  
  @param path the path of the block
  @param workerDataFolderPermissions The permissions to set on the worker's data folder