/etc/gforge/templates/ is in gforge-shell-postgresql 5.3.2+20141104-3+deb8u3.
This file is owned by root:root, with mode 0o755.