From 07171aba2bd73bdb04c31b8a487bd28c58580498 Mon Sep 17 00:00:00 2001 From: Abdur Rehman Date: Tue, 28 Mar 2017 21:14:54 +0500 Subject: 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 Signed-off-by: Christopher Larson Signed-off-by: Richard Purdie --- scripts/postinst-intercepts/update_gio_module_cache | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scripts/postinst-intercepts') diff --git a/scripts/postinst-intercepts/update_gio_module_cache b/scripts/postinst-intercepts/update_gio_module_cache index fe468092cf..92092f2144 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 + -- cgit v1.2.3-54-g00ecf