# Ported from gnome-session git commit 010d9dae136560f711dca2bfd3c5104695f5b05c # (6.4.2018) - "gsm-util: create the config directory with 0700" # (https://github.com/GNOME/gnome-session/commit/010d9da): # ============================================================================= # there is no reason to make the user configuration available to other users # # https://bugzilla.gnome.org/show_bug.cgi?id=792675 # diff -up mate-session-manager-f56f8cd63d330e576aeabd09a0600a8da2e02392/mate-session/gsm-util.c~ mate-session-manager-f56f8cd63d330e576aeabd09a0600a8da2e02392/mate-session/gsm-util.c --- mate-session-manager-f56f8cd63d330e576aeabd09a0600a8da2e02392/mate-session/gsm-util.c~ 2021-05-17 11:41:25.458999659 +0200 +++ mate-session-manager-f56f8cd63d330e576aeabd09a0600a8da2e02392/mate-session/gsm-util.c 2021-05-17 11:41:25.476999777 +0200 @@ -186,7 +186,7 @@ ensure_dir_exists (const char *dir) if (g_file_test (dir, G_FILE_TEST_IS_DIR)) return TRUE; - if (g_mkdir_with_parents (dir, 0755) == 0) + if (g_mkdir_with_parents (dir, 0700) == 0) return TRUE; if (errno == EEXIST)