It was found that system umask policy is not being honored when creating
XDG user directories, since Xsession sources before
setting umask policy. This only affects xdg-user-dirs before 0.15.5 as
shipped with Red Hat Enterprise Linux.
sarnoldThis feels like a fundamental misunderstanding of Unix model to
assume that every task run on behalf of a user will be started as a child
process of bash or sh run as an interactive or login shell.
Environments that want a specific umask set for users should use
the pam_umask(8) module as part of the login process.
Environments that need a specific umask set for compliance reasons
should investigate the feasibility of preparing a single-purpose LSM or
seccomp jail interface of some sort.
Ubuntu 12.04 ESM (Precise Pangolin):DNE
Ubuntu 14.04 ESM (Trusty Tahr):DNE (trusty was needs-triage)
Ubuntu 16.04 LTS (Xenial Xerus):needed
Ubuntu 18.04 LTS (Bionic Beaver):needed
Ubuntu 19.04 (Disco Dingo):ignored (reached end-of-life)
Ubuntu 19.10 (Eoan Ermine):needed
Ubuntu 20.04 (Focal Fossa):needed
More Information

Updated: 2020-01-23 20:31:46 UTC (commit b4629892d998f2ede31f59bb7508dc50a92ac664)