Github user PaulAngus commented on the issue:
https://github.com/apache/cloudstack/pull/1749
Storage from above test run has been cleaned up, however:
Permissions look fine in general, but i note that mgmt server created files
(ie systemvm.iso) are created as user 996 which i assume is 'cloud'.

In general, other templates and templates.properties files look to be
created as root with permissions: 0666
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---