Package: cups-client
Version: 1.7.5-11
Severity: normal


On Jessie (cups 1.7.5-11) creation of a print queue with -m results in 
the PPD having permissions 640.

  root@gnome-jessie:~# lpadmin -p perms -v file:/home/brian/test.ps -E -m 
postscript-hp:0/ppd/hplip/HP/hp-business_inkjet_2250-ps.ppd
  root@gnome-jessie:~# ls -l /etc/cups/ppd/perms.ppd
  -rw-r----- 1 root lp 64033 May  4 19:24 /etc/cups/ppd/perms.ppd

We'll tweak the queue. The permissions of the PPD are unchanged.

  root@gnome-jessie:~# lpadmin -p perms -v file:/home/brian/test.ps -E -o 
PageSize=A4 -m postscript-hp:0/ppd/hplip/HP/hp-business_inkjet_2250-ps.ppd
  root@gnome-jessie:~# ls -l /etc/cups/ppd/perms.ppd
  -rw-r----- 1 root lp 64041 May  4 19:26 /etc/cups/ppd/perms.ppd
  -rw-r----- 1 root lp 64033 May  4 19:24 /etc/cups/ppd/perms.ppd.O

Another alteration to the queue. This sees the PPD file permissions
alter.

  root@gnome-jessie:~# lpadmin -p perms -v file:/home/brian/test.ps -E -o 
PageSize=A4 -o booklet -m 
postscript-hp:0/ppd/hplip/HP/hp-business_inkjet_2250-ps.ppd
  root@gnome-jessie:~# ls -l /etc/cups/ppd/perms*
  -rw-r--r-- 1 root lp 64033 May  4 19:34 /etc/cups/ppd/perms.ppd
  -rw-r----- 1 root lp 64033 May  4 19:24 /etc/cups/ppd/perms.ppd.O

How does the -P option perform after deleting the queue and starting
again?

  root@gnome-jessie:~# lpadmin -p perms -v file:/home/brian/test.ps -E -P 
/home/brian/lj400.ppd
  root@gnome-jessie:~# ls -l /etc/cups/ppd/perms*
  -rw-r--r-- 1 root root 68925 May  4 19:40 /etc/cups/ppd/perms.ppd

Adding the previous two options in consecutive reinstallations as before
sees the established permission on the PPD unchanged at 644.

I could live with 640 or 644 (the latter, for preference) but it would be
nice for lpadmin to give a consistent outcome when queues are installed
or reinstalled.

This behaviour seems related to STR: #4500 and #764253.

Regards,

Brian.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to