You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ranger.apache.org by me...@apache.org on 2018/12/19 11:51:23 UTC

[ranger] 33/39: RANGER-2299 Modify the permissions of the kms install.properties file to 700

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

mehul pushed a commit to branch ranger-1.1
in repository https://gitbox.apache.org/repos/asf/ranger.git

commit 7e7649abc2ed5d8221a345f44431c29b93650ca0
Author: zhangqiang2 <zh...@zte.com.cn>
AuthorDate: Fri Nov 30 17:05:50 2018 +0800

    RANGER-2299 Modify the permissions of the kms install.properties file to 700
    
    Signed-off-by: peng.jianhua <pe...@zte.com.cn>
---
 src/main/assembly/kms.xml | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/src/main/assembly/kms.xml b/src/main/assembly/kms.xml
index ed818b1..3adc55c 100755
--- a/src/main/assembly/kms.xml
+++ b/src/main/assembly/kms.xml
@@ -314,7 +314,6 @@
                 <include>ranger-kms-initd</include>
                 <include>ranger-kms</include>
                 <include>setup.sh</include>
-                <include>install.properties</include>
                 <include>importJCEKSKeys.sh</include>
                 <include>exportKeysToJCEKS.sh</include>
                 <include>HSMMK2DB.sh</include>
@@ -325,6 +324,14 @@
             <fileMode>544</fileMode>
         </fileSet>
         <fileSet>
+            <outputDirectory>/</outputDirectory>
+            <directory>kms/scripts</directory>
+            <includes>
+                <include>install.properties</include>
+            </includes>
+            <fileMode>700</fileMode>
+        </fileSet>
+        <fileSet>
             <outputDirectory>/ews/webapp/WEB-INF/classes/conf.dist</outputDirectory>
             <directoryMode>0700</directoryMode>
             <directory>kms/config/kms-webapp</directory>