summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2016-05-11 13:55:33 +0200
committerAlexander Larsson <alexl@redhat.com>2016-05-11 13:55:33 +0200
commit4f6a2d5cd7cb6eeb03e066acda97aebc7b45f979 (patch)
treef964bc3eefc7279dcfa82a4b08b5bfe44f5f6881 /common
parentacc6f5542572f205323bf9b249c770be53f2e29d (diff)
downloadxdg-app-4f6a2d5cd7cb6eeb03e066acda97aebc7b45f979.tar.gz
deploy: Ensure deploy dir is world readable
Diffstat (limited to 'common')
-rw-r--r--common/flatpak-dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/flatpak-dir.c b/common/flatpak-dir.c
index 9899618..f97e125 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;