Explorar o código

AMBARI-8884. Host Check: adjust umask to handle up-to-027 (aonishuk)

Andrew Onishuk %!s(int64=10) %!d(string=hai) anos
pai
achega
e94d9403b6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      ambari-web/app/controllers/wizard/step3_controller.js

+ 1 - 1
ambari-web/app/controllers/wizard/step3_controller.js

@@ -1467,7 +1467,7 @@ App.WizardStep3Controller = Em.Controller.extend({
 
       //parse misc warnings for host
       var umask = _host.Hosts.last_agent_env.umask;
-      if (umask && umask !== 18) {
+      if (umask && umask > 23) {
         warning = warnings.filterProperty('category', 'misc').findProperty('name', umask);
         if (warning) {
           warning.hosts.push(_host.Hosts.host_name);