MCPcopy Create free account
hub / github.com/coreutils/coreutils / owner_failure_ok

Function owner_failure_ok

src/copy.c:2874–2879  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2872 X is the copying option set. */
2873
2874static bool
2875owner_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

Callers 1

set_ownerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected