Suggest the "ChangeOwner" return a bool value, and it can break immediatly when haven't granted access permission to the dirctory.