1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-02-18 05:12:15 +02:00

maint: add FIXME comment

This commit is contained in:
Paul Eggert
2013-05-11 19:21:06 -07:00
parent e7198a67b8
commit 8a2d91492c

View File

@@ -2747,8 +2747,12 @@ owner_failure_ok (struct cp_options const *x)
return ((errno == EPERM || errno == EINVAL) && !x->owner_privileges);
}
/* Return the user's umask, caching the result. */
/* Return the user's umask, caching the result.
FIXME: If the destination's parent directory has has a default ACL,
some operating systems (e.g., GNU/Linux's "POSIX" ACLs) use that
ACL's mask rather than the process umask. Currently, the callers
of cached_umask incorrectly assume that this situation cannot occur. */
extern mode_t
cached_umask (void)
{