Max Kellermann <max.kellermann@xxxxxxxxx> wrote: > This reverts commit 484fd6c1de13b336806a967908a927cc0356e312. The > commit caused a regression because now the umask was applied to > symlinks and the fix is unnecessary because the umask/O_TMPFILE bug > has been fixed somewhere else already. Thanks, Max! I've verified that this fixes symlink modes for me, as well as the flatpak corruption error I was getting. > Fixes: https://lore.kernel.org/lkml/28DSITL9912E1.2LSZUVTGTO52Q@xxxxxxxxxxx/ > Signed-off-by: Max Kellermann <max.kellermann@xxxxxxxxx> Tested-by: Michael Forney <mforney@xxxxxxxxxxx>