Bug#462149: marked as done (cupsys: "Unable to open parallel port device file "/dev/lp0": Permission, denied")
Your message dated Sat, 6 Sep 2008 19:49:06 +0200
with message-id <20080906174906.GA4124@piware.de>
and subject line Re: Bug#423198: cupsys: Unable to open parallel port device file "/dev/lp0" after upgrade from sarge to debian
has caused the Debian Bug report #423198,
regarding cupsys: "Unable to open parallel port device file "/dev/lp0": Permission, denied"
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)
--
423198: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=423198
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: submit@bugs.debian.org
- Subject: cupsys: "Unable to open parallel port device file "/dev/lp0": Permission, denied"
- From: Wolf-Dieter Groll <Wolf-Dieter.Groll@gmx.de>
- Date: Tue, 22 Jan 2008 22:05:58 +0100
- Message-id: <47965AB6.7020606@gmx.de>
Package: cupsys
Version: 1.2.7-4etch2
Severity: normal
After installing a plain etch last year (4.0r0) and just now after
upgrading cups to 1.2.7 it was
impossible to print
to a printer connected to /dev/lp0, even so I'm a member of the 'lp'-group:
crw-rw---- 1 root lp 6, 0 2008-01-20 20:01 /dev/lp0
Setting permissions to 666 of /dev/lp0 helped up to the next reboot.
In my case, the problem could be solved setting the group of
usr/lib/cups/backend/parallel to 'lp'
and setting the GID-Bit (chmod 2755 parallel):
-rwxr-sr-x 2 root lp 13K 2007-12-24 22:50 parallel
Thus I'm able to print again, probably up to the next cupsys-update and
hopefully beyond...
Regards
Wolf-Dieter Groll
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Versions of packages cupsys depends on:
ii adduser 3.102 Add and remove users and groups
ii cupsys-common 1.2.7-4etch2 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 libacl1 2.2.41-1 Access control list shared
library
ii libc6 2.3.6.ds1-13etch2 GNU C Library: Shared libraries
ii libcupsimage2 1.2.7-4etch2 Common UNIX Printing
System(tm) -
ii libcupsys2 1.2.7-4etch2 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.2etch1 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-7etch1 Core Perl modules
ii poppler-utils [xpdf-ut 0.4.5-5.1etch1 PDF utilitites (based on
libpopple
ii procps 1:3.2.7-3 /proc file system utilities
ii zlib1g 1:1.2.3-13 compression library - runtime
Versions of packages cupsys recommends:
ii cupsys-client 1.2.7-4etch2 Common UNIX Printing
System(tm) -
ii foomatic-filters 3.0.2-20061031-1.2 linuxprinting.org printer
support
pn smbclient <none> (no description available)
-- debconf information:
* cupsys/raw-print: true
* cupsys/backend: ipp, lpd, parallel, socket, usb
--
Mit freundlichen Grüßen
Wolf-Dieter Groll
Ina-Seidel-Weg 20
32839 Steinheim
Tel.: 05233-4875
GnuPG-Id: 0x1A5BA608
--- End Message ---
--- Begin Message ---
- To: Bernd Zimmermann <bernd@bernd--zimmermann.de>, 423198-done@bugs.debian.org
- Subject: Re: Bug#423198: cupsys: Unable to open parallel port device file "/dev/lp0" after upgrade from sarge to debian
- From: Martin Pitt <martin@piware.de>
- Date: Sat, 6 Sep 2008 19:49:06 +0200
- Message-id: <20080906174906.GA4124@piware.de>
- In-reply-to: <20070510141745.28783.2006.reportbug@viro08.tiho-hannover.de>
- References: <20070510141745.28783.2006.reportbug@viro08.tiho-hannover.de>
Version: 1.2.12-2
Bernd Zimmermann [2007-05-10 16:17 +0200]:
> After cups upgrade vom sarge to etch:
>
> cups stops working with parallel port devices due to an access error on /dev/lp0
>
> after a chmod 666 /dev/lp0 and restarting cups, it is woking again
> until the next reboot or reload of the lp-kernel module, because
> when udev is reloading /dev/lp0 with the default rights 660 root.lp /dev/lp0
This should have been fixed when we dropped the "run as user" mode in
cups in 1.2.12-2. Closing bug. Please let us know if you still have
problems in Lenny.
Thank you!
Martin
--
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
--- End Message ---
Reply to: