diff options
-rw-r--r-- | service/dconf-gvdb-utils.c | 2 | ||||
-rw-r--r-- | service/dconf-keyfile-writer.c | 2 |
2 files changed, 2 insertions, 2 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); diff --git a/service/dconf-keyfile-writer.c b/service/dconf-keyfile-writer.c index 88f0305..f4951bb 100644 --- a/service/dconf-keyfile-writer.c +++ b/service/dconf-keyfile-writer.c @@ -207,7 +207,7 @@ dconf_keyfile_writer_begin (DConfWriter *writer, * again, after mkdir(). */ dirname = g_path_get_dirname (kfw->lock_filename); - g_mkdir_with_parents (dirname, 0777); + g_mkdir_with_parents (dirname, 0700); g_free (dirname); kfw->lock_fd = open (kfw->lock_filename, O_RDWR | O_CREAT, 0666); |