diff options
author | Jonathan Liu <net147@gmail.com> | 2015-03-09 13:28:37 +1100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-03-16 17:38:33 +0000 |
commit | 23393c6685860d0b1c459874d35395360d0b6d3c (patch) | |
tree | 38d5fb588a3e3e2eee8e59eb0a2e33323307e193 /scripts/postinst-intercepts | |
parent | 2f99ee5725ffc173bf32c0b707aa90adbc4eed95 (diff) | |
download | openembedded-core-contrib-23393c6685860d0b1c459874d35395360d0b6d3c.tar.gz |
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]
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts/postinst-intercepts')
-rw-r--r-- | scripts/postinst-intercepts/update_font_cache | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/postinst-intercepts/update_font_cache b/scripts/postinst-intercepts/update_font_cache index 78f33651e9e..3907f25f19b 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 |