瀏覽代碼

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

Andrew Onishuk 10 年之前
父節點
當前提交
e94d9403b6
共有 1 個文件被更改,包括 1 次插入1 次删除
  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);