[Bug 1003495] fontconfig creates $HOME/.config directory owned by root, breaking Koji builds

bugzilla at redhat.com bugzilla at redhat.com
Mon Sep 2 09:19:09 UTC 2013


https://bugzilla.redhat.com/show_bug.cgi?id=1003495



--- Comment #3 from Richard W.M. Jones <rjones at redhat.com> ---
(In reply to Akira TAGOH from comment #1)
> Does anyone run any process using fontconfig with root? and/or mock
> overrides XDG_CONFIG_HOME to that for root?

Apparently yes.  Almost every fonts package has a %post
script that does:

%post
{
   umask 133
   mkfontscale %{fontdir} || :
   mkfontdir %{fontdir} || :
   fc-cache %{_datadir}/fonts
} &> /dev/null || :

(that is taken from urw-fonts, but there are many other
fonts-related packages doing the same thing)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=QTdznxfRyA&a=cc_unsubscribe


More information about the fonts-bugs mailing list