]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
maint: add FIXME comment
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 12 May 2013 02:21:06 +0000 (19:21 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 12 May 2013 02:22:54 +0000 (19:22 -0700)
src/copy.c

index 5c0ee1e703d8494b71eda67436a12c5d79a9a5ef..c1c82730d4f115dad6f53154c6a34eb332958a91 100644 (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)
 {