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



commit 3bcd644e96bc8cbafdd10e5dca119ff3d1166a88
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]