From cc2b5dfbfe353425d0b463a4a01589b64f2f5e60 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Thu, 2 Jan 2020 23:19:38 +0000 Subject: [PATCH] update_font_cache: fix ownership of .uuid files too Signed-off-by: Ross Burton --- scripts/postinst-intercepts/update_font_cache | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/postinst-intercepts/update_font_cache b/scripts/postinst-intercepts/update_font_cache index 3053c7065f..46bdb8c572 100644 --- a/scripts/postinst-intercepts/update_font_cache +++ b/scripts/postinst-intercepts/update_font_cache @@ -6,4 +6,6 @@ set -e PSEUDO_UNLOAD=1 ${binprefix}qemuwrapper -L $D -E ${fontconfigcacheenv} $D${libexecdir}/${binprefix}fc-cache --sysroot=$D --system-only ${fontconfigcacheparams} + chown -R root:root $D${fontconfigcachedir} +find $D -type f -name .uuid -exec chown root:root '{}' + -- 2.40.1