Companion PR to st2#4173.
Fixes configuration directory permissions to 2770 and the configuration file permissions to 660.
2770
660
Fixes #558 Closes #520 Closes #565