| 2872 | X is the copying option set. */ |
| 2873 | |
| 2874 | static bool |
| 2875 | owner_failure_ok (struct cp_options const *x) |
| 2876 | { |
| 2877 | return ((errno == EPERM || errno == EINVAL || errno == EACCES) |
| 2878 | && !x->owner_privileges); |
| 2879 | } |
| 2880 | |
| 2881 | /* Return the user's umask, caching the result. |
| 2882 |