diff options
author | Alexander Larsson <alexl@redhat.com> | 2016-05-11 13:55:33 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2016-05-11 13:55:33 +0200 |
commit | 4f6a2d5cd7cb6eeb03e066acda97aebc7b45f979 (patch) | |
tree | f964bc3eefc7279dcfa82a4b08b5bfe44f5f6881 /common | |
parent | acc6f5542572f205323bf9b249c770be53f2e29d (diff) | |
download | xdg-app-4f6a2d5cd7cb6eeb03e066acda97aebc7b45f979.tar.gz |
deploy: Ensure deploy dir is world readable
Diffstat (limited to 'common')
-rw-r--r-- | common/flatpak-dir.c | 2 |
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; |