Bug#567016: cups: Cups ignores ConfigFilePerm
Package: cups
Version: 1.4.2-6
Severity: normal
CUPS does not respect the "ConfigFilePerm" parameter.
My /etc/cups/cupsd.conf includes
ConfigFilePerm 0644
in the preamble. Restarting CUPS resets classes.conf, printers.conf,
printers.conf.O, and ssl/ to 0600.
Among things, Matlab needs printers.conf to be readable in order to
print. That could well be a bug in Matlab, but this CUPS option does
not seem to be working as documented.
Thanks!
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-trunk-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages cups depends on:
ii adduser 3.112 add and remove users and groups
ii bc 1.06.95-2 The GNU bc arbitrary precision cal
ii cups-client 1.4.2-6 Common UNIX Printing System(tm) -
ii cups-common 1.4.2-6 Common UNIX Printing System(tm) -
ii debconf [debconf-2.0] 1.5.28 Debian configuration management sy
ii ghostscript 8.70~dfsg-2.1 The GPL Ghostscript PostScript/PDF
ii libavahi-client3 0.6.25-3 Avahi client library
ii libavahi-common3 0.6.25-3 Avahi common library
ii libc6 2.10.2-5 Embedded GNU C Library: Shared lib
ii libcups2 1.4.2-6 Common UNIX Printing System(tm) -
ii libcupscgi1 1.4.2-6 Common UNIX Printing System(tm) -
ii libcupsdriver1 1.4.2-6 Common UNIX Printing System(tm) -
ii libcupsimage2 1.4.2-6 Common UNIX Printing System(tm) -
ii libcupsmime1 1.4.2-6 Common UNIX Printing System(tm) -
ii libcupsppdc1 1.4.2-6 Common UNIX Printing System(tm) -
ii libdbus-1-3 1.2.16-2 simple interprocess messaging syst
ii libgcc1 1:4.4.3-1 GCC support library
ii libgnutls26 2.8.5-2 the GNU TLS library - runtime libr
ii libgssapi-krb5-2 1.8+dfsg~alpha1-5 MIT Kerberos runtime libraries - k
ii libijs-0.35 0.35-7 IJS raster image transport protoco
ii libkrb5-3 1.8+dfsg~alpha1-5 MIT Kerberos runtime libraries
ii libldap-2.4-2 2.4.17-2.1 OpenLDAP libraries
ii libpam0g 1.1.0-4 Pluggable Authentication Modules l
ii libpaper1 1.1.23+nmu1 library for handling paper charact
ii libpoppler5 0.12.2-2.1 PDF rendering library
ii libslp1 1.2.1-7.6 OpenSLP libraries
ii libstdc++6 4.4.3-1 The GNU Standard C++ Library v3
ii libusb-0.1-4 2:0.1.12-14 userspace USB programming library
ii lsb-base 3.2-23 Linux Standard Base 3.2 init scrip
ii perl-modules 5.10.1-9 Core Perl modules
ii poppler-utils 0.12.2-2.1 PDF utilitites (based on libpopple
ii procps 1:3.2.8-2 /proc file system utilities
ii ssl-cert 1.0.25 simple debconf wrapper for OpenSSL
ii ttf-freefont 20090104-5 Freefont Serif, Sans and Mono True
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
Versions of packages cups recommends:
ii cups-driver-gutenprint 5.2.4-1 printer drivers for CUPS
ii foomatic-filters 4.0-20090509-1 OpenPrinting printer support - fil
ii ghostscript-cups 8.70~dfsg-2.1 The GPL Ghostscript PostScript/PDF
Versions of packages cups suggests:
ii cups-bsd 1.4.2-6 Common UNIX Printing System(tm) -
pn cups-pdf <none> (no description available)
ii cups-ppdc 1.4.2-6 Common UNIX Printing System(tm) -
ii foomatic-db 20090616-1 OpenPrinting printer support - dat
ii foomatic-db-engine 4.0-20090509-2 OpenPrinting printer support - pro
ii hplip 3.9.12-2 HP Linux Printing and Imaging Syst
pn smbclient <none> (no description available)
ii udev 150-2 /dev/ and hotplug management daemo
pn xpdf-korean | xpdf-japane <none> (no description available)
-- debconf information:
cupsys/raw-print: true
cupsys/backend: ipp, lpd, parallel, scsi, serial, socket, usb, snmp, dnssd
LogLevel warn
MaxLogSize 0
SystemGroup lpadmin
Listen localhost:631
#Listen /var/run/cups/cups.sock
ConfigFilePerm 0644
Browsing On
BrowseOrder allow,deny
BrowseAllow all
BrowseLocalProtocols CUPS dnssd
DefaultAuthType None
<Location />
AuthType None
Order allow,deny
</Location>
<Location /admin>
Order allow,deny
</Location>
<Location /admin/conf>
AuthType Default
Order allow,deny
</Location>
<Policy default>
<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job CUPS-Get-Document>
Order deny,allow
</Limit>
<Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>
AuthType Default
Order deny,allow
</Limit>
<Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs CUPS-Reject-Jobs>
AuthType Default
Order deny,allow
</Limit>
<Limit Cancel-Job CUPS-Authenticate-Job>
Order deny,allow
</Limit>
<Limit All>
AuthType None
Order deny,allow
</Limit>
</Policy>
<Policy authenticated>
<Limit Create-Job Print-Job Print-URI>
AuthType Default
Order deny,allow
</Limit>
<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job CUPS-Get-Document>
AuthType Default
Order deny,allow
</Limit>
<Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
AuthType Default
Order deny,allow
</Limit>
<Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs CUPS-Reject-Jobs>
AuthType Default
Order deny,allow
</Limit>
<Limit Cancel-Job CUPS-Authenticate-Job>
AuthType Default
Order deny,allow
</Limit>
<Limit All>
Order deny,allow
</Limit>
</Policy>
RIPCache 772499k
Reply to: