Lots of copies of PPD files in /tmp

Michael Sweet mike at easysw.com
Fri Jul 11 07:47:52 PDT 2008


Lucas Levrel wrote:
> Hi.
> 
> I'm working on a PC under openSuSE 10.3. My /tmp contains lots of files 
> with random names like 4875ce08c0e3e, and I've just noticed they are mere 
> copies of the PPD files for the printers I use. It seems there is one copy 
> per "print" job; I put quotes because this includes "prints to file"
> which do not appear in error_log (launched e.g. from Mozilla).
> 
> All this makes me wonder:
> - why doesn't CUPS use the original PPD?

The PPD can be located on another computer or may not be readable
by normal users, so applications need to get a local copy.

> - why doesn't it remove these copies after use?

The CUPS API requires that callers remove any temporary files they
create.  In this case, it sounds like GNOME and/or KDE is not doing
this...

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com




More information about the cups mailing list