I'm not sure if this patch is right. Should facl fail on all commands or just on SETACL? If the command is GETACL, for example, should this fail like fgetxattr(2) or should it succeed like fstat(2)?
Cygwin may be the only platform that supports both facl(2) and O_PATH, so I guess we're on our own here. Ken Brown (1): Cygwin: facl: fail with EBADF on files opened with O_PATH winsup/cygwin/sec_acl.cc | 5 +++++ 1 file changed, 5 insertions(+) -- 2.30.0