Set group and permissions on agentd etc files.