Update permissions for log files

Fixes issue where api and cert logs can not be created.