Report forwarded to debian-bugs-dist@lists.debian.org, Sven Rudolph <sr1@inf.tu-dresden.de>:
Bug#11185; Package lpr.   debian-bugs-dist@lists.debian.orgSven Rudolph <sr1@inf.tu-dresden.de>  Sorry, this message was lost when this bug report was restored from a backup.   Acknowledgement sent to osamu.shiobara@student.kuleuven.ac.be:
New bug report received and forwarded. Copy sent to Sven Rudolph <sr1@inf.tu-dresden.de>.   osamu.shiobara@student.kuleuven.ac.be  Sorry, this message was lost when this bug report was restored from a backup.   Received: (at submit) by bugs.debian.org; 12 Jul 1997 06:40:03 +0000 Received: (qmail 6938 invoked from network); 12 Jul 1997 06:40:02 -0000 Received: from urc1.cc.kuleuven.ac.be (134.58.8.3) by master.debian.org with SMTP; 12 Jul 1997 06:40:01 -0000 Received: from debian (du01-03.dial.kulnet.kuleuven.ac.be [134.58.122.35]) by urc1.cc.kuleuven.ac.be (8.8.5/8.8.5) with ESMTP id IAA23408 for ; Sat, 12 Jul 1997 08:32:53 +0200 Received: from urc1.cc.kuleuven.ac.be ([127.0.0.1]) by debian with esmtp id m0wmvp5-000hrcC (Debian Smail-3.2 1996-Jul-4 #2); Sat, 12 Jul 1997 08:38:27 +0200 (CEST) Message-Id: To: submit@bugs.debian.org Subject: lpr does not print for a general user From: Michael Osamu Shiobara Reply-To: osamu.shiobara@student.kuleuven.ac.be X-Mailer: Mew version 1.70 on Emacs 19.34.1 / Mule 2.3 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Sat, 12 Jul 1997 08:38:26 +0200 Sender: OSAMU.SHIOBARA@student.kuleuven.ac.be Package: lpr Version: 5.9-15 Hello there, I have found a problem in running "lpr" on "hamm". # My kernel level is 2.0.30. # My libc5 level is 5.4.23. # My libc6 level is 2.0.4. # I am using the "magicfilter" that is configured with # /usr/sbin/laserjet-filter. /* symptom */ I have installed lpr_5.9-15.deb, but it does not print when invoked on a non-previledged user, while it *does* print on "root". # Before upgrading to 5.9-15, I was using 5.9-13.1 that worked # appropriately on my installation. Let me type on the command line as the following: $ lpr foo.asc It does not print, and it gives the following error message: lpr: cannot create /var/spool/lpd/hplj5p/.seq Hereinabove, "hplj5p" is my spool directory. /* diagnosis */ In my opinion, the relevant executables have a wrong permission in /usr/bin. After upgrading to 5.9-15, the permissions are: -rwxr-xr-x 1 root root 6666 Jul 8 23:30 /usr/bin/lpf -rwxr-xr-x 1 root root 13152 Jul 8 23:30 /usr/bin/lpq -rwxr-xr-x 1 root root 14172 Jul 8 23:30 /usr/bin/lpr -rwxr-xr-x 1 root root 13044 Jul 8 23:30 /usr/bin/lprm -rwxr-xr-x 1 root root 4664 Jul 8 23:30 /usr/bin/lptest However, lpq, lpr, and lprm should have the "s" bit turned on for the user and group, as in version 5.9-13.1. I have observed that I can work around this problem in turning the "s" bit on, e.g.: -rwsr-sr-x 1 root root 14172 Jul 8 23:30 /usr/bin/lpr, etc. ^ ^ # Another observation is that the owner of lpq, lpr, and lprm is # "root.root" in version 5.9-15, whereas it was "root.lp" in version # 5.9-13.1. But I am unable to say whether this change has a crucial # role in this problem. Best regards, Michael   Reply sent to Sven Rudolph <sr1@os.inf.tu-dresden.de>:
You have taken responsibility.   Sven Rudolph <sr1@os.inf.tu-dresden.de>  Sorry, this message was lost when this bug report was restored from a backup.   Done: Sven Rudolph <sr1@os.inf.tu-dresden.de>; Maintainer for lpr is Sven Rudolph <sr1@inf.tu-dresden.de>.

Message received at 11185-done@bugs.debian.org:


Received: (at 11185-done) by bugs.debian.org; 15 Jul 1997 10:59:42 +0000
Received: (qmail 5095 invoked from network); 15 Jul 1997 10:59:41 -0000
Received: from os.inf.tu-dresden.de (141.76.1.46)
  by master.debian.org with SMTP; 15 Jul 1997 10:59:41 -0000
Received: (from sr1@localhost)
	by os.inf.tu-dresden.de (8.8.5/8.8.5) id MAA31942;
	Tue, 15 Jul 1997 12:59:29 +0200
To: osamu.shiobara@student.kuleuven.ac.be, 11185-done@bugs.debian.org
Subject: Re: Bug#11185: lpr does not print for a general user
References: <m0wmvp5-000hrcC@debian>
Mime-Version: 1.0 (generated by tm-edit 7.105)
Content-Type: text/plain; charset=US-ASCII
From: Sven Rudolph <sr1@os.inf.tu-dresden.de>
Date: 15 Jul 1997 12:59:29 +0200
In-Reply-To: Michael Osamu Shiobara's message of Sat, 12 Jul 1997 08:38:26 +0200
Message-ID: <87u3hweg32.fsf@os.inf.tu-dresden.de>
Lines: 19
X-Mailer: Gnus v5.3/Emacs 19.34

Michael Osamu Shiobara <osamu.shiobara@student.kuleuven.ac.be> writes:

> Package: lpr
> Version: 5.9-15

> In my opinion, the relevant executables have a wrong permission
> in /usr/bin.  After upgrading to 5.9-15, the permissions are:
> 
>   -rwxr-xr-x   1 root     root         6666 Jul  8 23:30 /usr/bin/lpf
>   -rwxr-xr-x   1 root     root        13152 Jul  8 23:30 /usr/bin/lpq
>   -rwxr-xr-x   1 root     root        14172 Jul  8 23:30 /usr/bin/lpr
>   -rwxr-xr-x   1 root     root        13044 Jul  8 23:30 /usr/bin/lprm
>   -rwxr-xr-x   1 root     root         4664 Jul  8 23:30 /usr/bin/lptest

Corrected in 5.9-17. Please test it, I don't use lpr.

	Sven
-- 
Sven Rudolph <sr1@inf.tu-dresden.de> ; WWW : http://www.sax.de/~sr1/


Notification sent to osamu.shiobara@student.kuleuven.ac.be:
Bug acknowledged by developer.   osamu.shiobara@student.kuleuven.ac.be  Sorry, this message was lost when this bug report was restored from a backup.