[Fontconfig] What to do with $HOME is unset

Keith Packard keithp at keithp.com
Tue Oct 3 00:28:23 PDT 2006


On Tue, 2006-10-03 at 00:34 -0500, Albert Chin wrote:
> On Sun, Sep 24, 2006 at 11:09:50AM +0100, Keith Packard wrote:
> > I'm wondering if we shouldn't use a /tmp scheme as a part of the cache
> > directory path. Would this make sense, and if so, how would we structure
> > the names? 
> 
> I'd suggest a /tmp/.fc-cache/[whatever]. On systems with _lots_ of
> logged in users, this wouldn't flood /tmp with an entry for every
> user.

that generates issues with symlink attacks as we discovered
with /tmp/.X11-unix; without some caution; before we do this, I'd like a
reasonably detailed description of how these files and directories could
be built safely.

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/fontconfig/attachments/20061003/23571eaf/attachment.pgp


More information about the Fontconfig mailing list