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

boli
04.05.2007 7f77d30f2817000dcf5a735afe2353beb53134b7
opendj-sdk/opends/src/server/org/opends/server/loggers/MultifileTextWriter.java
@@ -182,10 +182,29 @@
      writer = new BufferedWriter(osw, bufferSize);
    }
    // Try to apply file permissions. Causing problems with installer. Fix
    // after 0.8.
    /*
    if(FilePermission.canSetPermissions())
    {
      FilePermission.setPermissions(file, filePermissions);
    }
      try
      {
        if(!FilePermission.setPermissions(file, filePermissions))
        {
          throw new Exception();
        }
      }
      catch(Exception e)
      {
        // Log an warning that the permissions were not set.
        int msgID = MSGID_LOGGER_SET_PERMISSION_FAILED;
        String message = getMessage(msgID, file.toString());
        logError(ErrorLogCategory.CONFIGURATION,
                 ErrorLogSeverity.SEVERE_WARNING,
                 message, msgID);
      }
    }*/
  }