Make do_chmod() report an error with -E.