Fix a logging agent startup problem due to wrong permissions.