[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

lprm <job>; permission denied!?



 Is there some 'one who understands why lprm in Debian 1.2 doesn't
work as normal user?  Even if a normal user is put into the lp-group
there is following error message:

==================================================
wehler2@welfa4:~/zar/tmp$ lpq -Pps04
ps04 is ready and printing
Rank   Owner      Job  Files                                 Total Size
active wehler2    18   c-functions.ps                        52219 bytes
1st    wehler2    19   c-functions.ps                        52219 bytes
2nd    wehler2    20   c-functions.ps                        52219 bytes
3rd    wehler2    21   c-functions.ps                        52219 bytes

wehler2@welfa4:~/zar/tmp$ lprm -Pps04 21
cfA021Aa25070: Permission denied

wehler2@welfa4:~/zar/tmp$ strace lprm -Pps04 21
execve("/usr/bin/lprm", ["lprm", "-Pps04", "21"], [/* 33 vars */]) = 0
strace: exec: Operation not permitted

wehler2@welfa4:~/zar/tmp$ ls -al /var/spool/lpd/ps04
total 217
drwxrwsrwx   2 root     lp           1024 Dec 18 16:19 .
drwxrwsr-x   9 root     lp           1024 Dec 17 12:03 ..
-rw-rw---x   1 root     lp              4 Dec 18 16:19 .seq
-rw-rw----   1 daemon   lp            146 Dec 18 16:19 cfA018Aa25062
-rw-rw----   1 daemon   lp            146 Dec 18 16:19 cfA019Aa25066
-rw-rw----   1 daemon   lp            146 Dec 18 16:19 cfA020Aa25068
-rw-rw----   1 daemon   lp            146 Dec 18 16:19 cfA021Aa25070
-rw-rw----   1 wehler2  lp          52219 Dec 18 16:19 dfA018Aa25062
-rw-rw----   1 wehler2  lp          52219 Dec 18 16:19 dfA019Aa25066
-rw-rw----   1 wehler2  lp          52219 Dec 18 16:19 dfA020Aa25068
-rw-rw----   1 wehler2  lp          52219 Dec 18 16:19 dfA021Aa25070
-rw-rw-r--   1 root     lp              0 Nov 24 21:04 errs
-rw-rw-r--   1 root     lp             20 Dec 18 16:19 lock
-rw-rw-r--   1 root     lp             27 Dec 18 16:19 status

wehler2@welfa4:~/zar/tmp$ id
uid=210(wehler2) gid=7(lp) groups=300(sti),100(users)
wehler2@welfa4:~/zar/tmp$ 
====================

Thank you.
  Andreas.

-- 
Uni Wuppertal, FB Elektrotechnik, Tel/Fax: (0202) 439 - 3009
Dr. Andreas Wehler;  wehler2@welfa4.elektro.uni-wuppertal.de


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com


Reply to: