Bug#414562: cupsys: rotated logs world readable
Package: cupsys
Version: 1.2.7-4
Severity: normal
One day after installing cupsys (with all the default settings),
I see this:
root@unicorn:~# ls -l /var/log/cups
total 16
-rw-r--r-- 1 root lp 2660 Mar 12 10:43 access_log
-rw-r--r-- 1 root lp 1159 Mar 12 10:32 access_log.1.gz
-rw-r----- 1 root lp 0 Mar 12 10:38 error_log
-rw-r--r-- 1 root lp 97 Mar 12 01:48 error_log.1.gz
-rw-r----- 1 root lp 0 Mar 12 10:38 page_log
-rw-r--r-- 1 root lp 78 Mar 12 10:32 page_log.1.gz
Bad.
-- System Information:
Debian Release: 4.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/dash
Kernel: Linux 2.6.18-11custom200703020153
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages cupsys depends on:
ii adduser 3.102 Add and remove users and groups
ii cupsys-common 1.2.7-4 Common UNIX Printing System(tm) -
ii debconf [debconf-2.0] 1.5.11 Debian configuration management sy
ii gs-esp 8.15.3.dfsg.1-1 The Ghostscript PostScript interpr
ii libc6 2.3.6.ds1-13 GNU C Library: Shared libraries
ii libcupsimage2 1.2.7-4 Common UNIX Printing System(tm) -
ii libcupsys2 1.2.7-4 Common UNIX Printing System(tm) -
ii libdbus-1-3 1.0.2-1 simple interprocess messaging syst
ii libgnutls13 1.4.4-3 the GNU TLS library - runtime libr
ii libldap2 2.1.30-13.3 OpenLDAP libraries
ii libpam0g 0.79-4 Pluggable Authentication Modules l
ii libpaper1 1.1.21 Library for handling paper charact
ii libslp1 1.2.1-6.2 OpenSLP libraries
ii lsb-base 3.1-23 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-7 Core Perl modules
ii procps 1:3.2.7-3 /proc file system utilities
ii xpdf-utils [poppler-util 3.01-9 Portable Document Format (PDF) sui
ii zlib1g 1:1.2.3-13 compression library - runtime
Versions of packages cupsys recommends:
ii cupsys-client 1.2.7-4 Common UNIX Printing System(tm) -
ii foomatic-filters 3.0.2-20061031-1.1 linuxprinting.org printer support
pn smbclient <none> (no description available)
-- debconf information:
cupsys/raw-print: true
cupsys/backend: ipp, lpd, parallel, socket, usb
Reply to: