Adds permissions to copying patches