[Pkg-cups-devel] Bug#374406: cupsys: admin page shows permission denied and access rights seem strange.

Eric Lavarde bugs.debian.nospam at zorglub.s.bawue.de
Mon Jun 19 09:32:41 UTC 2006


Package: cupsys
Version: 1.2.1-2
Severity: normal


Hi,

on the http://localhost:631/admin page, I get the following error
message:

Unable to open cupsd.conf file:

    Permission denied

and if I try to call "Edit Configuration File", I get:

Error:

    Broken pipe

Also the group access rights in the CUPS config directory do not seem (to me)
really consistent:

# ll -R /etc/cups
/etc/cups:
total 68
-rw------- 1 root lp        82 2006-06-12 11:15 classes.conf
-rw-r--r-- 1 root root    2204 2005-04-19 16:27 client.conf
-rw-r--r-- 1 root root    1215 2005-05-02 18:27 command.types
drwxr-xr-x 2 root root    4096 2006-06-09 09:18 cups.d
-rw-r----- 1 root lpadmin 2647 2006-06-05 15:59 cupsd.conf
drwxr-xr-x 2 root root    4096 2005-04-19 16:27 interfaces
-rw-r--r-- 1 root root    4461 2006-06-05 15:59 mime.convs
-rw-r--r-- 1 root root    6109 2006-06-05 15:59 mime.types
drwxr-xr-x 2 root lp      4096 2006-06-19 11:06 ppd
-rw------- 1 root lp       951 2006-06-19 11:06 printers.conf
-rw------- 1 root lp      1224 2006-06-19 10:40 printers.conf.O
-rw-r--r-- 1 root root     946 2005-11-09 00:21 pstoraster.convs
-rw-r--r-- 1 root root     242 2005-05-10 18:49 raw.convs
-rw-r--r-- 1 root root     213 2005-05-10 18:49 raw.types
drwx------ 2 root lp      4096 2006-06-05 15:59 ssl

/etc/cups/cups.d:
total 8
-rw-r--r-- 1 root root 13 2006-06-19 10:50 browse.conf
-rw-r--r-- 1 root root 21 2006-06-19 10:50 ports.conf

/etc/cups/interfaces:
total 0

/etc/cups/ppd:
total 44
-rw-r--r-- 1 root root    20431 2006-06-12 11:14 B32-BBN05135.ppd
-rw-r--r-- 1 root lpadmin 12044 2005-05-13 17:16 B32-BBN05634.ppd
-rw-r--r-- 1 root lpadmin 12063 2005-11-04 10:22 B32-P0105.ppd

/etc/cups/ssl:
total 0

Sometimes root, sometimes lp and sometimes lpadmin (my normal user
belongs to lpadmin, but not to lp). Also it sounds strange to have
specific lp group ownership without any access rights for this group.
I have "SystemGroup lpadmin" in cupsd.conf. cupsd runs as root.

Tell me if you need more information.

Thanks, Eric

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-8nc6k1
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8)

Versions of packages cupsys depends on:
ii  adduser                  3.87            Add and remove users and groups
ii  debconf [debconf-2.0]    1.5.1           Debian configuration management sy
ii  gs-esp                   8.15.1.dfsg.1-2 The Ghostscript PostScript interpr
ii  libacl1                  2.2.37-1        Access control list shared library
ii  libc6                    2.3.6-13        GNU C Library: Shared libraries
ii  libcupsimage2            1.2.1-2         Common UNIX Printing System(tm) - 
ii  libcupsys2               1.2.1-2         Common UNIX Printing System(tm) - 
ii  libdbus-1-2              0.61-6          simple interprocess messaging syst
ii  libgnutls13              1.3.5-1.1       the GNU TLS library - runtime libr
ii  libldap2                 2.1.30-13       OpenLDAP libraries
ii  libpam0g                 0.79-3.1        Pluggable Authentication Modules l
ii  libpaper1                1.1.17          Library for handling paper charact
ii  libslp1                  1.2.1-5         OpenSLP libraries
ii  lsb-base                 3.1-10          Linux Standard Base 3.1 init scrip
ii  patch                    2.5.9-4         Apply a diff file to an original
ii  perl-modules             5.8.8-4         Core Perl modules
ii  procps                   1:3.2.6-2.2     /proc file system utilities
ii  xpdf-utils [poppler-util 3.01-8          Portable Document Format (PDF) sui
ii  zlib1g                   1:1.2.3-11      compression library - runtime

Versions of packages cupsys recommends:
ii  cupsys-client           1.2.1-2          Common UNIX Printing System(tm) - 
ii  foomatic-filters        3.0.2-20060530-1 linuxprinting.org printer support 
ii  smbclient               3.0.22-1         a LanManager-like simple client fo

-- debconf information:
* cupsys/raw-print: true
* cupsys/ports: localhost:631
* cupsys/backend: ipp, lpd, parallel, socket, usb
  cupsys/portserror:
* cupsys/browse: false




More information about the Pkg-cups-devel mailing list