print different error if unmark current directory failed