Menu

#130 Bad filter when adding redhat printer

open
5
2001-07-26
2001-07-26
Ian Abbott
No

For RedHat 7.0, when adding a printer on the "Add a
new printer" page, if a Redhat printer driver is
selected and the printer definition is saved,
the 'filter' file in that printer's spool
directory /var/spool/lpd/printername is incorrect.

Webmin 0.87's operations seem to have the following
effect:

cp /usr/lib/rhs/rhs-printfilters/master-filter filter
chmod 600 filter
chown lp.lp filter

whereas a printer definition created using RedHat
7.0's 'printtool' program seems to have the following
effect:

ln -s /usr/lib/rhs/rhs-printfilters//master-filter
filter

(the double slash is spurious, but that's what it
does!)

In Webmin's version, the filter is not executable,
which results in prints beings aborted. On examination
of the 'status.printername' file in printername's
spool directory after attempting to print a file,
there is a 'Permission denied' error when trying to
run the filter.

Discussion


Log in to post a comment.