usergrid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snoopd...@apache.org
Subject [1/2] git commit: Get permissions right, who knows who that WAR came from.
Date Tue, 02 Sep 2014 15:20:16 GMT
Repository: incubator-usergrid
Updated Branches:
  refs/heads/two-dot-o e6c3f08fa -> 2b1f7351d


Get permissions right, who knows who that WAR came from.


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

Branch: refs/heads/two-dot-o
Commit: f7e8f26d585190d55ddb104e92b9250da7cf023a
Parents: e6c3f08
Author: Dave Johnson <dmjohnson@apigee.com>
Authored: Tue Sep 2 11:19:03 2014 -0400
Committer: Dave Johnson <dmjohnson@apigee.com>
Committed: Tue Sep 2 11:19:03 2014 -0400

----------------------------------------------------------------------
 .../awscluster/src/main/dist/init_instance/init_rest_server.sh  | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/f7e8f26d/stack/awscluster/src/main/dist/init_instance/init_rest_server.sh
----------------------------------------------------------------------
diff --git a/stack/awscluster/src/main/dist/init_instance/init_rest_server.sh b/stack/awscluster/src/main/dist/init_instance/init_rest_server.sh
index 3adfce4..3464ea7 100644
--- a/stack/awscluster/src/main/dist/init_instance/init_rest_server.sh
+++ b/stack/awscluster/src/main/dist/init_instance/init_rest_server.sh
@@ -111,11 +111,12 @@ cd /usr/share/usergrid/scripts
 groovy wait_for_instances.groovy cassandra ${CASSANDRA_NUM_SERVERS}
 groovy wait_for_instances.groovy graphite ${GRAPHITE_NUM_SERVERS}
 
-chmod 660 /usr/share/usergrid/webapps/ROOT.war
-
+# link WAR and Portal into Tomcat's webapps dir
 rm -rf /var/lib/tomcat7/webapps/*
 ln -s /usr/share/usergrid/webapps/ROOT.war /var/lib/tomcat7/webapps/ROOT.war
 ln -s /usr/share/usergrid/webapps/portal /var/lib/tomcat7/webapps/portal
+chown -R tomcat7 /usr/share/usergrid/webapps
+chown -R tomcat7 /var/lib/tomcat7/webapps
 
 # configure usergrid
 mkdir -p /usr/share/tomcat7/lib 


Mime
View raw message