This wrapper automatically changes the ownership of registry directory before and after restore to ensure filesytem permissions are correct.