Permalink
Browse files

/home/psc_deployer needs to be 0750 psc_deployer:tomcat.

(See comments.)
  • Loading branch information...
1 parent a4a0a29 commit 139533862f16061fa2e15cedca34e62bdd2bc378 David Yip committed Jun 22, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 chef/cookbooks/ncs_navigator/recipes/psc.rb
@@ -65,6 +65,11 @@
end
end
+# Make sure that all directories to the bundle directory are executable by
+# Tomcat. If they aren't, then PSC's bundle installer will (silently) fail.
+execute "chgrp -R #{node["tomcat"]["group"]} #{application_user_home(psc_user)}"
+execute "chmod -R 0750 #{application_user_home(psc_user)}"
+
# To avoid dumping large JARs under /etc/tomcat6 (which is the target of
# /usr/share/tomcat6/conf), we symlink /usr/share/tomcat6/conf/psc to
# psc_bundle_dir.

0 comments on commit 1395338

Please sign in to comment.