fixing some file permissions to read logfiles