spec: Fix config file permissions.

fixes #4886
Add example timeperiods.

fixes #4839