Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2023-07-21 22:49:54 +0300
committerCorinna Vinschen <corinna@vinschen.de>2023-07-21 22:57:44 +0300
commit971d2dffea7848270aa9dfb5c14dcd946c8971c0 (patch)
tree94b349f407f58565a8ebda52a92bc5884e0bd697 /.github/workflows
parent8b0b719d499f6025b56652d8282d5a52f3722dc4 (diff)
Cygwin: get_posix_access: do not merge permissions for just created files
When creating the POSIX ACL rewrite, the code merging permissions from everyone/group to group/user ACEs was accidentally called for newly generated files as well. This could result in broken permissions, if umask used unusual values like "0100", granted permissions to everyone/group not granted to group/user. Make sure to skip permission merging if the file got just created and we only want to set correct permissions for the first time. Fixes: bc444e5aa4ca ("Reapply POSIX ACL changes.") Reported-by: Jon Turney <jon.turney@dronecode.org.uk> Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to '.github/workflows')
0 files changed, 0 insertions, 0 deletions