[cups.bugs] [HIGH] STR #1442: .bashrc is not recognized as text file any more
Till Kamppeter
till.kamppeter at gmx.net
Sun Feb 26 08:00:40 PST 2006
[STR New]
For quickly testing whether a print queue (or plain text printing) works, I
often print the .bashrc file in the current user's home directory (under
Linux this is a plain text file which always exists).
After the last CUPS update to rev 5183 (because it should have STR #1432
fixed) the .bashrc was not recognized as plain text any more. I error_log
(LogLevel debug) I get:
----------------------------------------------------------------------
D [26/Feb/2006:17:22:54 +0100] Print-Job
ipp://localhost/printers/hp_usb_Photosmart_2600_series
D [26/Feb/2006:17:22:54 +0100] print_job: auto-typing file...
D [26/Feb/2006:17:22:54 +0100] print_job: request file type is
application/octet-stream.
D [26/Feb/2006:17:22:54 +0100] add_job: requesting-user-name="root"
----------------------------------------------------------------------
and with the octet-stream lines in mime.types and mime.convs activated,
the .bashrc gets printed unfiltered:
----------------------------------------------------------------------
# .bashrc
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin: ...
----------------------------------------------------------------------
According to the rules in mime.types my .bashrc should be recognized at
least as plain text file and passed through texttops and the other
filters.
I attach .bashrc and /etc/cups/mime.types.
Link: http://www.cups.org/str.php?L1442
Version: 1.2-current
More information about the cups
mailing list