From d03e1677d54b6cc9668c7e50df53ad9e242d1629 Mon Sep 17 00:00:00 2001 From: Jonathan Liu Date: Mon, 9 Mar 2015 13:28:37 +1100 Subject: postinst-intercepts/update_font_cache: fix ownership of fontconfig cache The file ownership of the cache files in /var/cache/fontconfig needs to be set to root:root otherwise it inherits the user and group id of the build user. [YOCTO #7411] (From OE-Core rev: 23393c6685860d0b1c459874d35395360d0b6d3c) Signed-off-by: Jonathan Liu Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- scripts/postinst-intercepts/update_font_cache | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts/postinst-intercepts') diff --git a/scripts/postinst-intercepts/update_font_cache b/scripts/postinst-intercepts/update_font_cache index 78f33651e9..3907f25f19 100644 --- a/scripts/postinst-intercepts/update_font_cache +++ b/scripts/postinst-intercepts/update_font_cache @@ -2,5 +2,6 @@ PSEUDO_UNLOAD=1 qemuwrapper -L $D -E LD_LIBRARY_PATH=$D/${libdir}:$D/${base_libdir}\ $D${bindir}/fc-cache --sysroot=$D +chown -R root:root $D${localstatedir}/cache/fontconfig -- cgit v1.2.3-54-g00ecf