Update owners according to the rules when a file is moved.