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

Valery Kharseko
11 hours ago bd8b80653a50e445f59cac7c1e80309dba23712e
opendj-server-legacy/src/main/java/org/opends/quicksetup/util/ZipExtractor.java
@@ -291,7 +291,7 @@
    if (entry.isDirectory())
    {
      String perm = getDirectoryFileSystemPermissions(destination);
      String perm = getDirectoryFileSystemPermissions();
      addPermission(destination, permissions, perm);
      if (!Utils.createDirectory(destination))
      {
@@ -331,10 +331,9 @@
  /**
   * Returns the file system permissions for a directory.
   * @param path the directory for which we want the file permissions.
   * @return the file system permissions for the directory.
   */
  private String getDirectoryFileSystemPermissions(File path)
  private String getDirectoryFileSystemPermissions()
  {
    // TODO We should get this dynamically during build?
    return "755";