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

Marc Haber mh+debian-bugs at zugschlus.de
Thu Oct 23 16:37:14 UTC 2008


Package: cups
Version: 1.3.8-1lenny2
Severity: important

Hi,

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.

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 even happens when I use the root account to authenticate.

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

which is violating a policy SHOULD, iirc.

What's going on on my system? How can I print?

Greetings
Marc

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.27.2-scyw00225 (PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages cups depends on:
ii  adduser               3.110              add and remove users and groups
ii  cups-common           1.3.8-1lenny2      Common UNIX Printing System(tm) - 
ii  debconf [debconf-2.0] 1.5.24             Debian configuration management sy
ii  ghostscript           8.62.dfsg.1-3.1    The GPL Ghostscript PostScript/PDF
ii  libavahi-compat-libdn 0.6.23-2           Avahi Apple Bonjour compatibility 
ii  libc6                 2.7-15             GNU C Library: Shared libraries
ii  libcups2              1.3.8-1lenny2      Common UNIX Printing System(tm) - 
ii  libcupsimage2         1.3.8-1lenny2      Common UNIX Printing System(tm) - 
ii  libdbus-1-3           1.2.1-3            simple interprocess messaging syst
ii  libgnutls26           2.4.2-1            the GNU TLS library - runtime libr
ii  libkrb53              1.6.dfsg.4~beta1-4 MIT Kerberos runtime libraries
ii  libldap-2.4-2         2.4.11-1           OpenLDAP libraries
ii  libpam0g              1.0.1-4            Pluggable Authentication Modules l
ii  libpaper1             1.1.23+nmu1        library for handling paper charact
ii  libslp1               1.2.1-7.4          OpenSLP libraries
ii  lsb-base              3.2-20             Linux Standard Base 3.2 init scrip
ii  perl-modules          5.10.0-16          Core Perl modules
ii  poppler-utils [xpdf-u 0.8.7-1            PDF utilitites (based on libpopple
ii  procps                1:3.2.7-9          /proc file system utilities
ii  ssl-cert              1.0.23             simple debconf wrapper for OpenSSL

Versions of packages cups recommends:
ii  avahi-utils           0.6.23-2           Avahi browsing, publishing and dis
ii  cups-client           1.3.8-1lenny2      Common UNIX Printing System(tm) - 
ii  foomatic-filters      3.0.2-20080211-3.2 OpenPrinting printer support - fil
ii  smbclient             2:3.2.4-1          a LanManager-like simple client fo

Versions of packages cups suggests:
ii  cups-bsd                1.3.8-1lenny2    Common UNIX Printing System(tm) - 
ii  cups-driver-gutenprint  5.0.2-4          printer drivers for CUPS
ii  cups-pdf                2.4.8-3          PDF printer for CUPS
ii  foomatic-db             20080211-2+nmu1  OpenPrinting printer support - dat
ii  foomatic-db-engine      3.0.2-20080211-1 OpenPrinting printer support - pro
ii  hplip                   2.8.7-1          HP Linux Printing and Imaging Syst
pn  xpdf-korean | xpdf-japa <none>           (no description available)

-- debconf information:
* cupsys/raw-print: false
* cupsys/backend: ipp, lpd, parallel, scsi, serial, socket, usb, snmp, dnssd





More information about the Pkg-cups-devel mailing list