Fix permission for extension copy