4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-02-21 00:07:36 +08:00
Corinna Vinschen a785d996c9 Revert "Cygwin: get_posix_access: do not merge permissions for just created files"
This reverts commit 971d2dffea7848270aa9dfb5c14dcd946c8971c0.

This patch was supposed to fix lots of FAILs in our own
testsuite/winsup.api/ltp/umask03.c test.  The reason was
that umask masking in get_posix_access when generating new files
was overriden by later code in the same function, merging
permissions in old-style or Windows generated ACLs.

However, the solution to skip merging was not the right thing,
because this breaks handling of Windows-generated ACLs.

Rather, umask masking should be performed pretty late, certainly
after merging permissions.  This will be done by a followup patch.

Fixes: 971d2dffea78 ("Cygwin: get_posix_access: do not merge permissions for just created files")
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2025-01-15 12:27:03 +01:00
..
2022-08-04 20:54:09 +02:00
2022-08-04 22:13:59 +02:00
2023-02-25 16:12:51 +01:00
2022-05-29 17:45:52 -04:00
2022-08-04 22:13:59 +02:00
2022-05-29 17:45:52 -04:00
2022-08-04 22:13:59 +02:00
2022-05-29 17:45:52 -04:00
2022-08-04 22:13:59 +02:00
2022-08-04 22:13:59 +02:00
2024-02-14 14:00:34 +01:00
2022-08-04 22:13:59 +02:00