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



commit fa8b9a0008cda9af6e19bade0fa9351584ff2b13
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]