On Wed, 2006-05-03 at 23:09 -0400, Patrick Lam wrote: > I noticed one problem which occurs when you run fc-cache as root and > have HOME set to a user directory. I'll have more details (hopefully a > fix) when I next have free time on Friday or something. Right now I'm > preparing lecture notes... I'm not quite sure what to do about that; one option is to strip all ~ relative path names when getuid() != geteuid() from the font path, cache path and other configurable names. I was thinking that we already bailed on writing out cache files in this case though. In which case, the only issue is with sudo. One possible fix here is to use getpwuid (getuid()) instead of getenv ("HOME"). -- keith.packard@xxxxxxxxx
Attachment:
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Fontconfig mailing list Fontconfig@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/fontconfig