Fix file permissions for config