[cups.bugs] [LOW] STR #2491: Job files created without permission for CUPS user to read.

Michael R Sweet msweet at apple.com
Fri Aug 24 15:00:32 PDT 2007


Steven M. Wilson wrote:
> Thanks for your prompt response.  It looks like the pstops filter is the 
> one having trouble with permissions (see debug messages below).  Perhaps 
> it isn't using IPP?
> 
>     E [23/Aug/2007:13:31:32 -0400] PID 9723 
> (/usr/local/lib/cups/filter/pstops) stopped with status 1!
>     E [23/Aug/2007:13:31:32 -0400] [Job 3] Unable to open file 
> "/usr/local/var/spool/cups/d00003-001" - Permission denied

No, it is reading the data file (dNNNNN-MMM) which *is* supposed to
be readable by "lp".  The change you proposed affects the job control
file (cNNNNN) which *is not* being read by pstops...

The "cNNNNN" file is the one you need to access using the IPP
Get-Job-Attributes request; the filters should always be able to
read the job data files since they need to convert them to something
printable.

Check the other patches that Debian applies to make sure the permissions
are not getting reset.  Also check the permissions of /var/spool/cups
and its parents...

-- 
______________________________________________________________________
Michael R Sweet                        Senior Printing System Engineer





More information about the cups-devel mailing list