Report forwarded to debian-bugs-dist@lists.debian.org, Sven Rudolph <sr1@inf.tu-dresden.de>:
Bug#6085; 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 Ferdinand Schinagl <ferdi@roentgen.hlphys.uni-linz.ac.at>:
New bug report received and forwarded. Copy sent to Sven Rudolph <sr1@inf.tu-dresden.de>.   Ferdinand Schinagl <ferdi@roentgen.hlphys.uni-linz.ac.at>  Sorry, this message was lost when this bug report was restored from a backup.   Received: (at submit) by bugs.debian.org; 19 Dec 1996 12:23:35 +0000 Received: (qmail 22874 invoked from network); 19 Dec 1996 12:23:04 -0000 Received: from roentgen.hlphys.uni-linz.ac.at (140.78.111.42) by master.debian.org with SMTP; 19 Dec 1996 12:21:55 -0000 Received: from roentgen.hlphys.uni-linz.ac.at by roentgen.hlphys.uni-linz.ac.at with SMTP (1.38.193.4/16.2) id AA11161; Thu, 19 Dec 1996 13:13:33 +0100 Sender: ferdi@roentgen.hlphys.uni-linz.ac.at Message-Id: <32B9316D.8C8@roentgen.hlphys.uni-linz.ac.at> Date: Thu, 19 Dec 1996 13:13:33 +0100 From: Ferdinand Schinagl Organization: Institut fuer Halbleiterphysik X-Mailer: Mozilla 3.01 (X11; I; HP-UX A.09.05 9000/715) Mime-Version: 1.0 To: submit@bugs.debian.org Subject: lprm: permission denied Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Package: lpr Version: 5.9-13 When I try to remove queued print jobs 'lprm' replies with 'Permission denied' messages. Only root can remove jobs: $ ll |lpr -Plp4 - $ lpq -Plp4 lp4 is ready and printing Rank Owner Job Files Total Size active ferdi 25 (standard input) 882 bytes $ lprm -P lp4 25 cfA025Aa09984: Permission denied cfA025Aa09984: Permission denied $ Here are the permissions of the relevant files: $ ll /usr/bin/lp* -rwxr-xr-x 1 root root 4969 Nov 24 21:04 /usr/bin/lpf -rwsr-sr-x 1 root lp 13317 Nov 24 21:04 /usr/bin/lpq -rwsr-sr-x 1 root lp 14277 Nov 24 21:04 /usr/bin/lpr -rwsr-sr-x 1 root lp 13157 Nov 24 21:04 /usr/bin/lprm -rwxr-xr-x 1 root root 3329 Nov 24 21:04 /usr/bin/lptest This is the corresponding spool directory: $ ll /var/spool/lpd/ total 9 drwxr-sr-x 2 root lp 1024 Dec 19 16:46 PS_600dpi-a4-auto-mono drwxr-sr-x 2 root lp 1024 Nov 01 02:20 cdj550-a4-ascii-color drwxr-sr-x 2 root lp 1024 Nov 20 22:54 cdj550-a4-ascii-mono drwxr-sr-x 2 root lp 1024 Dec 19 16:58 cdj550-a4-auto-color drwxr-sr-x 2 root lp 1024 Nov 05 23:41 cdj550-a4-auto-mono drwxr-sr-x 2 root lp 1024 Dec 13 01:20 cdj550-raw drwxrwsr-x 2 root lp 1024 Oct 03 22:54 lp -rw------- 1 lp lp 5 Dec 18 03:53 lpd.lock.dirac.printer drwxrwsr-x 2 root lp 1024 Dec 19 16:46 remote This is 'lp4's spooling area: $ ll /var/spool/lpd/cdj550-a4-auto-color/ total 5 -rw-r--r-- 1 root lp 0 Nov 20 22:22 acct -rw-rw---- 1 daemon lp 112 Dec 19 16:58 cfA025Aa09984 -rw-rw---- 1 ferdi lp 882 Dec 19 16:58 dfA025Aa09984 -rw-r--r-- 1 root lp 19 Dec 19 16:58 lock -rw-r--r-- 1 root lp 216 Dec 19 16:58 log -rw-rw-r-- 1 root lp 26 Dec 19 16:58 status $ uname -a Linux dirac 2.0.27 #1 Fri Dec 6 13:27:33 PST 1996 i586 $ ll /lib/libc.* lrwxrwxrwx 1 root root 14 Oct 03 22:21 /lib/libc.so.4 -> libc.so.4.6.27 -rwxr-xr-x 1 root root 634880 May 29 1996 /lib/libc.so.4.6.27 lrwxrwxrwx 1 root root 14 Dec 19 16:14 /lib/libc.so.5 -> libc.so.5.4.17 -rwxr-xr-x 1 root root 565296 Dec 15 06:50 /lib/libc.so.5.4.17 $ cat /etc/printcap ## /etc/printcap: printer capability database. See printcap(5). ## You can use the filter entries df, tf, cf, gf etc. for ## your own filters. See /etc/filter.ps, /etc/filter.pcl and ## the printcap(5) manual page for further details. # rlp|remote|hplj4|Remote printer entry:\ :lp=:\ :rm=HPLJ4:\ :rp=hplj4:\ :sd=/var/spool/lpd/remote:\ :mx#0:\ :sh: # LABEL apsfilter # apsfilter setup Wed Nov 20 22:22:45 MET 1996 # # APS_BASEDIR:/usr/lib/apsfilter # # ascii|lp1|cdj550-a4-ascii-mono|cdj550 ascii mono:\ :lp=/dev/lp1:\ :sd=/var/spool/lpd/cdj550-a4-ascii-mono:\ :lf=/var/spool/lpd/cdj550-a4-ascii-mono/log:\ :af=/var/spool/lpd/cdj550-a4-ascii-mono/acct:\ :if=/usr/lib/apsfilter/filter/aps-cdj550-a4-ascii-mono:\ :mx#0:\ :sh: # lp2|cdj550-a4-auto-mono|cdj550 auto mono:\ :lp=/dev/lp1:\ :sd=/var/spool/lpd/cdj550-a4-auto-mono:\ :lf=/var/spool/lpd/cdj550-a4-auto-mono/log:\ :af=/var/spool/lpd/cdj550-a4-auto-mono/acct:\ :if=/usr/lib/apsfilter/filter/aps-cdj550-a4-auto-mono:\ :mx#0:\ :sh: # lp3|cdj550-a4-ascii-color|cdj550 ascii color:\ :lp=/dev/lp1:\ :sd=/var/spool/lpd/cdj550-a4-ascii-color:\ :lf=/var/spool/lpd/cdj550-a4-ascii-color/log:\ :af=/var/spool/lpd/cdj550-a4-ascii-color/acct:\ :if=/usr/lib/apsfilter/filter/aps-cdj550-a4-ascii-color:\ :mx#0:\ :sh: # lp4|cdj550-a4-auto-color|cdj550 auto color:\ :lp=/dev/lp1:\ :sd=/var/spool/lpd/cdj550-a4-auto-color:\ :lf=/var/spool/lpd/cdj550-a4-auto-color/log:\ :af=/var/spool/lpd/cdj550-a4-auto-color/acct:\ :if=/usr/lib/apsfilter/filter/aps-cdj550-a4-auto-color:\ :mx#0:\ :sh: # raw|lp5|cdj550-a4-raw|cdj550 auto raw:\ :lp=/dev/lp1:\ :sd=/var/spool/lpd/cdj550-raw:\ :lf=/var/spool/lpd/cdj550-raw/log:\ :af=/var/spool/lpd/cdj550-raw/acct:\ :if=/usr/lib/apsfilter/filter/aps-cdj550-a4-raw:\ :mx#0:\ :sh: # lp|PS_600dpi-a4-auto-mono|PS_600dpi auto mono:\ :lp=/dev/null:\ :sd=/var/spool/lpd/PS_600dpi-a4-auto-mono:\ :lf=/var/spool/lpd/PS_600dpi-a4-auto-mono/log:\ :af=/var/spool/lpd/PS_600dpi-a4-auto-mono/acct:\ :if=/usr/lib/apsfilter/filter/aps-PS_600dpi-a4-auto-mono:\ :mx#0:\ :sh: I am using Debian 1.2.   Merged 5791 6085 7589 7611 8438 8689. Request was from Sven Rudolph <sr1@os.inf.tu-dresden.de> to control@bugs.debian.org.   Sven Rudolph <sr1@os.inf.tu-dresden.de>  Sorry, this message was lost when this bug report was restored from a backup.   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 8689-done@bugs.debian.org:


Received: (at 8689-done) by bugs.debian.org; 15 Jul 1997 11:01:58 +0000
Received: (qmail 5204 invoked from network); 15 Jul 1997 11:01:57 -0000
Received: from os.inf.tu-dresden.de (141.76.1.46)
  by master.debian.org with SMTP; 15 Jul 1997 11:01:57 -0000
Received: (from sr1@localhost)
	by os.inf.tu-dresden.de (8.8.5/8.8.5) id NAA00202;
	Tue, 15 Jul 1997 13:01:41 +0200
To: Richard Kettlewell <richard@greenend.org.uk>
Cc: 8689-done@bugs.debian.org
Subject: Re: Bug#8689: lprm can't dequeue job!
References: <cPk2vI7+v0@sfere.greenend.org.uk>
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 13:01:40 +0200
In-Reply-To: Richard Kettlewell's message of Sun, 13 Apr 97 01:25:16 +0100 (BST)
Message-ID: <87rad0efzf.fsf@os.inf.tu-dresden.de>
Lines: 10
X-Mailer: Gnus v5.3/Emacs 19.34

Richard Kettlewell <richard@greenend.org.uk> writes:

> Package: lpr
> Version: 5.9-13.1

Fixed in 5.9-14.

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


Notification sent to Ferdinand Schinagl <ferdi@roentgen.hlphys.uni-linz.ac.at>:
Bug acknowledged by developer.   Ferdinand Schinagl <ferdi@roentgen.hlphys.uni-linz.ac.at>  Sorry, this message was lost when this bug report was restored from a backup.