Why umask is not honoured in Gnome environment ?

Solution In Progress - Updated -

Issue

  • Even when setting a user's umask to be more permissive than 022 (the default), such as 007, this more permissive umask is not respected by any application that's started from the Gnome desktop.
  • Files written with LibreOffice (or gedit for that matter) are still created with a 022 umask.
  • Any file written by any desktop application appears to be written with the incorrect umask.
  • This happens for all files written through a Gnome GUI application. Creating files from a terminal are written with the correct permissions.

Environment

  • Gnome version 2.28.2-11
  • RHEL 7.7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In