Christoph Pleger wrote:
> I have edited the source code of cups a little to get a some more
> more detailed information about the problem (the actual code
> only gives a meaningless message “The print file cannot be opened:
> Permission denied") and then found out the following:

Enabling the CUPS error log should be good enough, instead of modifying the 
source code. A howto for enabling it, can be found here:

https://wiki.debian.org/CUPSDebugging


> The “print file” is a temporary file in /tmp, has the UID 0 and
> the GID 7 (belongs to the system user lp) and the access rights 600, so
> it can only be written or read by root. The process that
> tries to access the file has the somewhat strange name
> ipp://$RemoteHost:$RemotePort/printers/$Printer .

IPP is the daemon, which receives the print jobs. I think this is fine.

> Does anyone have an idea why the strangely named process runs with root
> rights on one machine, but not on the other?

As said, follow this page for debugging CUPS: 
https://wiki.debian.org/CUPSDebugging

Best regards,
        Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27

Reply via email to