Repository: incubator-ranger Updated Branches: refs/heads/ranger-0.5 5d9dc855c -> c35384545
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/c3538454 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ranger/tree/c3538454 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ranger/diff/c3538454 Branch: refs/heads/ranger-0.5 Commit: c35384545848ffb713be0b9c59a35578022ec413 Parents: 5d9dc85 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:59 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/c3538454/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 #
