Skip to content

Commit

Permalink
using 'proper' chown syntax to change premissions on data dirs to tomcat
Browse files Browse the repository at this point in the history
  • Loading branch information
jdeolive committed Dec 6, 2011
1 parent 85faa5a commit 43f8134
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion installer/linux/rpm/rpmbuild/SPECS/opengeo-geoserver.spec
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ EOF
rm -rf $TMP
fi

chown tomcat. %{WEBAPPS}/*.war
chown tomcat %{WEBAPPS}/*.war
chkconfig %{TOMCAT} on
service %{TOMCAT} restart

Expand Down
2 changes: 1 addition & 1 deletion installer/linux/rpm/rpmbuild/SPECS/opengeo-suite-data.spec
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ the OpenGeo Suite.
fi
fi

chown tomcat. /usr/share/opengeo-suite-data -R
chown -R tomcat /usr/share/opengeo-suite-data


%preun
Expand Down
2 changes: 1 addition & 1 deletion installer/linux/rpm/rpmbuild/SPECS/opengeo-suite.spec
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ components. It is comprised of the following core components:
ln -sf $DOCS $WEBAPPS/opengeo-docs
fi

chown tomcat. /var/lib/tomcat5/webapps/*.war
chown tomcat /var/lib/tomcat5/webapps/*.war
chkconfig tomcat5 on
service tomcat5 restart

Expand Down

0 comments on commit 43f8134

Please sign in to comment.