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.
 sarnold> This 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.
 sarnold> Environments that want a specific umask set for users should use
  the pam_umask(8) module as part of the login process.
 sarnold> 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 18.10 (Cosmic Cuttlefish):needed
Ubuntu 19.04 (Disco Dingo):needed
Ubuntu 19.10 (Eoan):needed
More Information

Updated: 2019-05-22 18:14:16 UTC (commit 169b62372e6fd930d999d49116145c552023c28a)