ranger-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mad...@apache.org
Subject [2/7] incubator-ranger git commit: RANGER-623 : Enable plugin scripts should handle file permissions for certain umask value
Date Wed, 09 Sep 2015 03:46:31 GMT
RANGER-623 : Enable plugin scripts should handle file permissions for certain umask value

Signed-off-by: Velmurugan Periasamy <vel@apache.org>


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

Branch: refs/heads/tag-policy
Commit: c4b9499a95791ef20725d6724e54cfaeb665889b
Parents: 6784a66
Author: Gautam Borad <gborad@gmail.com>
Authored: Tue Aug 25 09:56:37 2015 +0530
Committer: Velmurugan Periasamy <vel@apache.org>
Committed: Sun Sep 6 22:21:11 2015 -0400

----------------------------------------------------------------------
 agents-common/scripts/enable-agent.sh | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/c4b9499a/agents-common/scripts/enable-agent.sh
----------------------------------------------------------------------
diff --git a/agents-common/scripts/enable-agent.sh b/agents-common/scripts/enable-agent.sh
index 9f67709..55130a5 100755
--- a/agents-common/scripts/enable-agent.sh
+++ b/agents-common/scripts/enable-agent.sh
@@ -454,6 +454,10 @@ then
 			fi
 		fi
 	done
+	if [ "${HCOMPONENT_NAME}" = "hbase" ] || [ "${HCOMPONENT_NAME}" = "storm" ];
+	then
+		chmod 644 ${HCOMPONENT_CONF_DIR}/*
+	fi
 fi
 
 #


Mime
View raw message