summaryrefslogtreecommitdiff
path: root/service/dconf-gvdb-utils.c
diff options
context:
space:
mode:
authorSebastien Bacher <seb128@ubuntu.com>2018-03-29 10:59:34 +0200
committerIain Lane <iainl@gnome.org>2018-04-17 15:58:26 +0100
commite01be93304fdff9e4c5109ae50f1bc9e64524b0b (patch)
tree68559650a29a0559251f947b30e3df03ee94421d /service/dconf-gvdb-utils.c
parentc0b6a365ffa0579d41bdbd37d523851e49b38029 (diff)
downloaddconf-e01be93304fdff9e4c5109ae50f1bc9e64524b0b.tar.gz
Don't create the user config dir as world readable
https://bugzilla.gnome.org/show_bug.cgi?id=792677
Diffstat (limited to 'service/dconf-gvdb-utils.c')
-rw-r--r--service/dconf-gvdb-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/dconf-gvdb-utils.c b/service/dconf-gvdb-utils.c
index 0ff4bdc..099a9f3 100644
--- a/service/dconf-gvdb-utils.c
+++ b/service/dconf-gvdb-utils.c
@@ -174,7 +174,7 @@ dconf_gvdb_utils_write_file (const gchar *filename,
* again, after mkdir().
*/
dirname = g_path_get_dirname (filename);
- g_mkdir_with_parents (dirname, 0777);
+ g_mkdir_with_parents (dirname, 0700);
g_free (dirname);
g_clear_error (error);