From: Alexander Larsson Date: Thu, 14 Apr 2016 18:55:28 +0000 (+0200) Subject: static-delta: Put temp files in /var/tmp X-Git-Tag: archive/raspbian/2022.1-3+rpi1~1^2~4^2~53^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=a08b7765b7b909f96ff13b55d2e3e1f0c9c0807c;p=ostree.git static-delta: Put temp files in /var/tmp We may not have write permissions in the current directory. Closes: #259 Approved by: cgwalters --- diff --git a/src/libostree/ostree-repo-static-delta-compilation.c b/src/libostree/ostree-repo-static-delta-compilation.c index df5dc19e..b3989234 100644 --- a/src/libostree/ostree-repo-static-delta-compilation.c +++ b/src/libostree/ostree-repo-static-delta-compilation.c @@ -455,7 +455,7 @@ get_unpacked_unlinked_content (OstreeRepo *repo, GError **error) { gboolean ret = FALSE; - g_autofree char *tmpname = g_strdup ("tmpostree-deltaobj-XXXXXX"); + g_autofree char *tmpname = g_strdup ("/var/tmp/tmpostree-deltaobj-XXXXXX"); glnx_fd_close int fd = -1; g_autoptr(GBytes) ret_content = NULL; g_autoptr(GInputStream) istream = NULL;