[gnome-software/abderrahim/flatpak-tests: 3/3] flatpak: pass --no-same-owner to tar when extracting test data



commit 024a44f47d68674e054aabf35cd47e58677f28bc
Author: Abderrahim Kitouni <akitouni gnome org>
Date:   Thu Oct 3 18:24:17 2019 +0100

    flatpak: pass --no-same-owner to tar when extracting test data
    
    when running as uid 0, tar tries to chown the extracted files back to their
    original owner, which fails in the buildstream sandbox.

 plugins/flatpak/tests/meson.build | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/plugins/flatpak/tests/meson.build b/plugins/flatpak/tests/meson.build
index 16329709..9a778d8b 100644
--- a/plugins/flatpak/tests/meson.build
+++ b/plugins/flatpak/tests/meson.build
@@ -5,6 +5,7 @@ custom_target(
   output : 'done',
   command : [
     tar,
+    '--no-same-owner',
     '--directory=' + meson.current_build_dir(),
     '-xf', '@INPUT@',
   ],


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]