You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ranger.apache.org by sn...@apache.org on 2014/09/28 02:33:13 UTC

git commit: ARGUS-87: Modified to fix install script issue on permission for hive2-site.xml

Repository: incubator-argus
Updated Branches:
  refs/heads/master ee6d77c81 -> 4076fac82


ARGUS-87: Modified to fix install script issue on permission for hive2-site.xml


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

Branch: refs/heads/master
Commit: 4076fac82fc7a6c7ef43fd745bb4e78e2ad1a52a
Parents: ee6d77c
Author: sneethiraj <sn...@apache.org>
Authored: Sat Sep 27 17:33:05 2014 -0700
Committer: sneethiraj <sn...@apache.org>
Committed: Sat Sep 27 17:33:05 2014 -0700

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


http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/4076fac8/agents-common/scripts/enable-agent.sh
----------------------------------------------------------------------
diff --git a/agents-common/scripts/enable-agent.sh b/agents-common/scripts/enable-agent.sh
index ab0c6c0..91466f9 100755
--- a/agents-common/scripts/enable-agent.sh
+++ b/agents-common/scripts/enable-agent.sh
@@ -314,6 +314,7 @@ then
 				then
 					log "Creating default file from [${DEFAULT_XML_CONFIG}] for [${fullpathorgfn}] .."
 					cp ${DEFAULT_XML_CONFIG} ${fullpathorgfn}
+				 	chown ${CFG_OWNER_INF} ${fullpathorgfn}	
 				else
         			echo "ERROR: Unable to find ${fullpathorgfn}"
         			exit 1