lp and spool directort
Michael Sweet
mike at easysw.com
Wed May 11 11:46:10 PDT 2005
John wrote:
> ...
> lp: unable to create temporary file
> "/open_source/bin-sun/cups/var/spool/cups/tmp/42824afbd4415" - No
> such file or directory
>
> This path that it's looking for doesn't exist on my test machine
> (it's the path where I compiled it on the other machine).
>
> So, my question is, where does "lp" get its spool path info from ? Is
> this compiled in, or is there a config file somewhere that I'm
> missing ?
The error you are seeing can be avoided by setting the TMPDIR
environment variable, e.g.:
TMPDIR=/tmp; export TMPDIR
When TMPDIR is not set, the CUPS temp file code will use a default
value - "CUPS_REQUESTS/tmp" for the root account and "/var/tmp" for
all other accounts.
--
______________________________________________________________________
Michael Sweet, Easy Software Products mike at easysw dot com
Internet Printing and Document Software http://www.easysw.com
More information about the cups
mailing list