Index: trunk/glueforge/templates/psdb/Makefile.am
===================================================================
--- trunk/glueforge/templates/psdb/Makefile.am	(revision 5888)
+++ trunk/glueforge/templates/psdb/Makefile.am	(revision 5972)
@@ -72,5 +72,10 @@
     top_makefile_am.tt
 
-psdbtemplatedir = $(datadir)/@PACKAGE_NAME@/templates/psdb
+templatedir = $(datadir)/@PACKAGE_NAME@/templates
+psdbtemplatedir = $(templatedir)/psdb
 psdbtemplate_DATA = $(template_files)
+
+install-data-hook:
+	chmod 0755 $(templatedir) $(psdbtemplatedir)
+
 EXTRA_DIST = $(template_files)
