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 LTS (Trusty Tahr):needs-triage
Ubuntu 16.04 LTS (Xenial Xerus):needs-triage
Ubuntu 18.04 LTS (Bionic Beaver):needs-triage
Ubuntu 18.10 (Cosmic Cuttlefish):needs-triage
Ubuntu 19.04 (Disco Dingo):needs-triage
More Information

Updated: 2019-01-14 21:24:22 UTC (commit 51f9b73af244ba86b9321e46e526586c25a8e060)