[gnome-software/abderrahim/flatpak-tests: 3/3] flatpak: pass --no-same-owner to tar when extracting test data
- From: Abderrahim Kitouni <akitouni src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/abderrahim/flatpak-tests: 3/3] flatpak: pass --no-same-owner to tar when extracting test data
- Date: Thu, 3 Oct 2019 20:47:51 +0000 (UTC)
commit f5b0a8e85c8115553d4345dc68f492b39d29f7ce
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]