appstream: Generate root dir of appstream branch world-readable

This commit is contained in:
Alexander Larsson
2016-05-11 12:23:55 +02:00
parent 1877f0be8d
commit 4da7dc4742

View File

@@ -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);