[Fontconfig] Creating cachedir

Keith Packard keithp at keithp.com
Sat Dec 10 00:26:00 PST 2005


On Sat, 2005-12-10 at 02:21 -0500, Behdad Esfahbod wrote:
> Humm, and seems like a slash is missing somewhere:
> 
> [behdad at home cache]$ pwd
> /home/behdad/.local/var/cache
> [behdad at home cache]$ ll
> total 48
> drwxrwxr-x  2 behdad behdad  4096 Dec 10 02:16 fontconfig
> -rw-rw-r--  1 behdad behdad 16384 Dec 10 02:16 fontconfig29cc395f695634896af6925bc549e484.cache-2
> -rw-rw-r--  1 behdad behdad 28672 Dec 10 02:16 fontconfig2a4a6418bbcce3c3e071c870ed3b6b61.cache-2
> 
> 
> BTW, how are different users handled exactly?  Isn't it possible
> to harm other users?

Rats. We need to keep the 'truely global' cache directory separate from
per-user cache directories. That's annoying.

/var/cache/fontconfig should be root writable, per-user caches should
live 'elsewhere'. I don't really want to create another per-user
directory in their home directory, so perhaps we can stuff it in
~/.fonts/fontconfig ?

-keith

-------------- 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/20051210/a1f55f08/attachment.pgp


More information about the Fontconfig mailing list