[gnome-continuous-yocto/gnomeostree-3.28-rocko: 5373/8267] update_gio_module_cache: fix host user contamination
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.28-rocko: 5373/8267] update_gio_module_cache: fix host user contamination
- Date: Sun, 17 Dec 2017 03:20:57 +0000 (UTC)
commit 07171aba2bd73bdb04c31b8a487bd28c58580498
Author: Abdur Rehman <abdur_rehman mentor com>
Date: Tue Mar 28 21:14:54 2017 +0500
update_gio_module_cache: fix host user contamination
update_gio_module_cache intercept creates file:
$D${libdir}/gio/modules/giomodule.cache
Change ownership of this file to root:root to avoid user contamination
by host.
(From OE-Core rev: 9a23af37ad11a7176248ade88511f34fe6dd97bb)
Signed-off-by: Abdur Rehman <abdur_rehman mentor com>
Signed-off-by: Christopher Larson <chris_larson mentor com>
Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>
.../postinst-intercepts/update_gio_module_cache | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/scripts/postinst-intercepts/update_gio_module_cache
b/scripts/postinst-intercepts/update_gio_module_cache
index fe46809..92092f2 100644
--- a/scripts/postinst-intercepts/update_gio_module_cache
+++ b/scripts/postinst-intercepts/update_gio_module_cache
@@ -5,3 +5,5 @@ set -e
PSEUDO_UNLOAD=1 qemuwrapper -L $D -E LD_LIBRARY_PATH=$D${libdir}:$D${base_libdir} \
$D${libexecdir}/${binprefix}gio-querymodules $D${libdir}/gio/modules/
+chown root:root $D${libdir}/gio/modules/giomodule.cache
+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]