[Pkg-cups-devel] Bug#503214: Bug#503214: cups: neither root privileges nor lpadmin membership is enough to install printer

Martin Pitt mpitt at debian.org
Thu Oct 23 17:37:35 UTC 2008


Hi Marc,

Marc Haber [2008-10-23 18:37 +0200]:
> I have always installed printers via the web frontend.
> http://localhost:631/, authenticate with my user account (which is
> member of the lpadmin group), and everything is fine.

Right, that's how it should be.

> Not today, "Unable to copy ppd file" is the error message, and my log
> has:
> 
> E [23/Oct/2008:18:32:11 +0200] CUPS-Add-Modify-Printer: Unauthorized

This is unfortunately happening very often, and admittedly very
confusing. I guess the browser does the first request, gets this back,
authenticates, and sends the next response.

To find out what's wrong with the PPD file, I need the full log,
preferably with debugging. Can you please do

  cupsctl --debug-logging

and attempt the operation again? Then please do

  cupsctl --no-debug-logging

and send /var/log/cups/error_log.

> I have also noticed that a lot of files from the packages have
> permission 600 now:
> 
> $ ls -al /usr/lib/cups/backend/ipp
> -rwx------ 3 root root 25K 11. Okt 12:59 /usr/lib/cups/backend/ipp

This is nothing new, but an unfortunate design of cups.
 
> which is violating a policy SHOULD, iirc.

In experimental it is at least fixed to be 744, so that it's world
readable.

Thanks,

Martin

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)





More information about the Pkg-cups-devel mailing list