Now copies permission as well