write berkshelf config with correct owner group and perms