Add ownership and mode to the config