summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2016-05-11 12:23:55 +0200
committerAlexander Larsson <alexl@redhat.com>2016-05-11 12:23:55 +0200
commit4da7dc474233dbfe0d58346b1cb2bf353660f475 (patch)
tree15c7b4a06b06e473d703c2e0c68dd540e16cd8ee /common
parent1877f0be8dbf82825f8911bd3da6c706cfa61df8 (diff)
downloadxdg-app-4da7dc474233dbfe0d58346b1cb2bf353660f475.tar.gz
appstream: Generate root dir of appstream branch world-readable
Diffstat (limited to 'common')
-rw-r--r--common/flatpak-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/flatpak-utils.c b/common/flatpak-utils.c
index e768e26..8305272 100644
--- a/common/flatpak-utils.c
+++ b/common/flatpak-utils.c
@@ -2159,7 +2159,7 @@ flatpak_repo_generate_appstream (OstreeRepo *repo,
g_autoptr(FlatpakXml) appstream_root = NULL;
g_autoptr(GBytes) xml_data = NULL;
- if (g_mkdtemp (tmpdir) == NULL)
+ if (g_mkdtemp_full (tmpdir, 0755) == NULL)
return flatpak_fail (error, "Can't create temporary directory");
tmpdir_file = g_file_new_for_path (tmpdir);