diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2022-01-25 21:53:40 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2022-01-25 21:53:40 +0300 |
commit | f467a1da58e86bed7730c2d20fb4c2c0444750bb (patch) | |
tree | 99876ae68477daea3b5af10f833dcdf5f3efc343 /Makefile.tpl | |
parent | 5dc4e2089afdc0f21792e32bb4ba408e001106d5 (diff) |
Cygwin: ACLs: don't set indicator for default ACEs prematurely
Commit a2bfe7cae61a introduced a change ignoring default ACEs on files
to come up with a valid POSIX ACL, reflecting the Windows ACEs actually
making sense on files.
However, if CREATOR OWNER or CREATOR GROUP ACEs - both only making sense
as default ACEs - are found in the ACL, a value indicating the presence
of default ACEs gets set, even on files. This in turn breaks a
subsequent integrity check and get_posix_access returns EINVAL.
The code path handling default ACEs on directories sets this indicator
anyway, so don't set it just because one of the above SIDs are found.
Fixes: a2bfe7cae61a ("Cygwin: ACLs: ignore *_INHERIT flags in file ACLs")
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'Makefile.tpl')
0 files changed, 0 insertions, 0 deletions