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 <submit@bugs.debian.org>; 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: <m0wmvp5-000hrcC@debian> To: submit@bugs.debian.org Subject: lpr does not print for a general user From: Michael Osamu Shiobara <osamu.shiobara@student.kuleuven.ac.be> 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