Write permissions and ownership config files