This is an automated email from the ASF dual-hosted git repository.

vishalsuvagia pushed a commit to branch branch-2.7
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/branch-2.7 by this push:
     new 041e268  AMBARI-24716 : Restrict user permissions for Atlas 
configuration file. (#2419)
041e268 is described below

commit 041e26889c18639b6916cee3ad6353405279b784
Author: Vishal Suvagia <[email protected]>
AuthorDate: Thu Oct 4 19:38:14 2018 +0530

    AMBARI-24716 : Restrict user permissions for Atlas configuration file. 
(#2419)
---
 .../common-services/ATLAS/0.1.0.2.3/package/scripts/metadata.py         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/ambari-server/src/main/resources/common-services/ATLAS/0.1.0.2.3/package/scripts/metadata.py
 
b/ambari-server/src/main/resources/common-services/ATLAS/0.1.0.2.3/package/scripts/metadata.py
index d78efe9..c65662a 100644
--- 
a/ambari-server/src/main/resources/common-services/ATLAS/0.1.0.2.3/package/scripts/metadata.py
+++ 
b/ambari-server/src/main/resources/common-services/ATLAS/0.1.0.2.3/package/scripts/metadata.py
@@ -114,7 +114,7 @@ def metadata(type='server'):
           Execute(('chown', format('{metadata_user}:{user_group}'), file),
                   sudo=True
                   )
-          Execute(('chmod', '644', file),
+          Execute(('chmod', '640', file),
                   sudo=True
                   )
 

Reply via email to