Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cygwin: get_posix_access: do not merge permissions for just created f…
…iles 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: bc444e5 ("Reapply POSIX ACL changes.") Reported-by: Jon Turney <[email protected]> Signed-off-by: Corinna Vinschen <[email protected]>
- Loading branch information