RANGER-623 : Enable plugin scripts should handle file permissions for certain umask value
Signed-off-by: Velmurugan Periasamy <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/incubator-ranger/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ranger/commit/af8ae450 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ranger/tree/af8ae450 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ranger/diff/af8ae450 Branch: refs/heads/HDP-2.3.2-groupid Commit: af8ae450bc0a74c76655cb76d66763220c5755ca Parents: e4f7fa9 Author: Gautam Borad <[email protected]> Authored: Tue Aug 25 09:56:37 2015 +0530 Committer: Velmurugan Periasamy <[email protected]> Committed: Sun Sep 6 22:36:05 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/af8ae450/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 #
