lp and spool directort

Anonymous anonymous at easysw.com
Thu May 12 07:43:33 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


Thanks Michael - I was hoping it would be something that easy ! I tried that and it worked OK (and yes, I was running my tests as root, so if I read your reply correctly, it would have worked OK had I done the testing as a normal user).

    John





More information about the cups mailing list