Explorar o código

AMBARI-8751. Incorrect access rights for pass.txt file (aonishuk)

Andrew Onishuk %!s(int64=10) %!d(string=hai) anos
pai
achega
3702ad8dea
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      ambari-server/src/main/python/ambari-server.py

+ 1 - 1
ambari-server/src/main/python/ambari-server.py

@@ -562,7 +562,7 @@ NR_ADJUST_OWNERSHIP_LIST = [
   ("/etc/ambari-server/conf", "644", "{0}", True),
   ("/etc/ambari-server/conf", "755", "{0}", False),
   ("/etc/ambari-server/conf/password.dat", "640", "{0}", False),
-  ("/var/lib/ambari-server/keys/pass.txt", "640", "{0}", False),
+  ("/var/lib/ambari-server/keys/pass.txt", "600", "{0}", False),
   ("/etc/ambari-server/conf/ldap-password.dat", "640", "{0}", False),
   ("/var/run/ambari-server/stack-recommendations/", "644", "{0}", True),
   ("/var/run/ambari-server/stack-recommendations/", "755", "{0}", False),