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/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 <[email protected]> Authored: Tue Aug 25 09:56:37 2015 +0530 Committer: Velmurugan Periasamy <[email protected]> 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 #
