public static void setExecutable(File file) throws IOException {
    LOG.info("Setting executable permissions for: " + file);
    if (!file.setExecutable(true, false)) {
      throw new IOException("Cannot set executable permissions for: " + file);
    }
  }
public static void setExecutable(File file)