You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ranger.apache.org by pe...@apache.org on 2018/12/12 01:08:58 UTC

ranger git commit: RANGER-2299 Modify the permissions of the kms install.properties file to 700

Repository: ranger
Updated Branches:
  refs/heads/master 1af0cc793 -> 6b9442959


RANGER-2299 Modify the permissions of the kms install.properties file to 700

Signed-off-by: peng.jianhua <pe...@zte.com.cn>


Project: http://git-wip-us.apache.org/repos/asf/ranger/repo
Commit: http://git-wip-us.apache.org/repos/asf/ranger/commit/6b944295
Tree: http://git-wip-us.apache.org/repos/asf/ranger/tree/6b944295
Diff: http://git-wip-us.apache.org/repos/asf/ranger/diff/6b944295

Branch: refs/heads/master
Commit: 6b944295904fd7372ae6e9e0bc10fd2109ea89ae
Parents: 1af0cc7
Author: zhangqiang2 <zh...@zte.com.cn>
Authored: Fri Nov 30 17:05:50 2018 +0800
Committer: peng.jianhua <pe...@zte.com.cn>
Committed: Wed Dec 12 09:08:20 2018 +0800

----------------------------------------------------------------------
 src/main/assembly/kms.xml | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ranger/blob/6b944295/src/main/assembly/kms.xml
----------------------------------------------------------------------
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>