From 4f6a2d5cd7cb6eeb03e066acda97aebc7b45f979 Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Wed, 11 May 2016 13:55:33 +0200 Subject: [PATCH] deploy: Ensure deploy dir is world readable --- common/flatpak-dir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/flatpak-dir.c b/common/flatpak-dir.c index 9899618b..f97e1257 100644 --- a/common/flatpak-dir.c +++ b/common/flatpak-dir.c @@ -2547,7 +2547,7 @@ flatpak_dir_deploy (FlatpakDir *self, tmp_dir_template = g_file_get_child (deploy_base, template); tmp_dir_path = g_file_get_path (tmp_dir_template); - if (g_mkdtemp (tmp_dir_path) == NULL) + if (g_mkdtemp_full (tmp_dir_path, 0755) == NULL) { g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED, "Can't create deploy directory"); return FALSE;