Package: foomatic-gui
Version: 0.7.7
Severity: important

I'm using foomatic-gui in conjunction with the lprng system.
After installing etch from scratch, I tried to configure an old
HP Deskjet 500 compatible printer.  But afterwards any postscript
document was sent to the printer as raw text although a2ps is
configured correctly.  (Queue name: lp).

I tracked down the problem to the foomatic-rip script.  It
successfully opens the printer's ppd file
(/etc/foomatic/lpd/lp.ppd) ("open ... || die" in the perl script),
but is unable to read any data from it and thus sends raw data to
the printer.

It turns out that the ppd file has been created with mode 640, uid 0,
gid 0.  Manually doing "chmod 644 lp.ppd" fixes the problem.

Without testing it, I believe that the non-default "umask 027"
that I use for all accounts (set via login.defs) is responsible
for this permission problem.  This should be fixed in the
foomatic-gui package.

Also, the /etc/foomatic/lpd director might have the same
permission problem if it's created by foomatic-gui.

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.20
Locale: LANG=en_US.ISO-8859-15, [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages foomatic-gui depends on:
ii  gksu                          2.0.0-1    graphical frontend to su
ii  python                        2.4.4-2    An interactive high-level object-o
ii  python-foomatic               0.7.7      Python interface to the Foomatic p
ii  python-glade2                 2.8.6-8    GTK+ bindings: Glade support
ii  python-gnome2                 2.12.4-6   Python bindings for the GNOME desk
ii  python-gnome2-extras          2.14.3-1   Python bindings for the GNOME desk
ii  python-gtk2                   2.8.6-8    Python bindings for the GTK+ widge

Versions of packages foomatic-gui recommends:
ii  netcat                        1.10-32    TCP/IP swiss army knife
ii  nmap                          4.11-1     The Network Mapper
pn  pconf-detect                  <none>     (no description available)
pn  smbclient                     <none>     (no description available)

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to