mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

jvergara
16.44.2007 3fffe8ae50e67ed9df4bdec3b1488346f0bac0a9
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/installer/webstart/WebStartInstaller.java
@@ -626,16 +626,21 @@
    String perm;
    File file = new File(path);
    if (file.getParent().endsWith(File.separator + "bin"))
    if (file.getParent().endsWith(
        File.separator + Utils.getWindowsBinariesRelativePath()) ||
        file.getParent().endsWith(
        File.separator + Utils.getUNIXBinariesRelativePath()))
    {
      if (path.endsWith(".bat"))
      {
        perm = "644";
      } else
      }
      else
      {
        perm = "755";
      }
    } else if (path.endsWith(".sh"))
    }
    else if (path.endsWith(".sh"))
    {
      perm = "755";
    } else if (path.endsWith(Utils.getUnixSetupFileName()) ||