[cups.development] PATH for backend binaries ?
Michael Sweet
mike at easysw.com
Tue May 31 05:16:53 PDT 2005
Markus.Grunwald at pruftechnik.com wrote:
> Hello,
>
> I am installing cups/esp-gs on an embedded linux device. Allready got it
> running as a pdf printer, but I have a little trouble with the path for
> the executables that are called by cups.
> All cups/esp-gs files are located below /data/cups. When I want to print a
> testpage on the pdf printer, I get the follwing lines in my logfile:
>
> D [10/Feb/1980:08:42:38 +0000] StartJob: argv = "PDF","2","root","Test
> Page","1","","/data/cups/var/spool/cups/d00002-001"
> D [10/Feb/1980:08:42:38 +0000] StartJob:
> envp[0]="PATH=/data/cups/lib/cups/filter:/bin:/usr/bin"
> [...]
> D [10/Feb/1980:08:42:39 +0000] [Job 2] exec: ps2pdf12: No such file or
> directory
>
> The file "ps2pdf12" is in "/data/cups/bin", so it can't be found by cups
> with the path setting from above.
> I have no idea, how I can change this path setting. The shell's PATH
> includes /data/cups/bin but it seems that this path setting is ignored by
> cups...
CUPS sets a very specific path for security reasons.
--
______________________________________________________________________
Michael Sweet, Easy Software Products mike at easysw dot com
Internet Printing and Publishing Software http://www.easysw.com
More information about the cups-devel
mailing list