I have latest cups (1.1.17_pre20021025) installed. Printing with root access
is okay. Printing with normal user access works when invoked like: lpr
'file-to-print'. If it is invoked through a pipe (e.g. cat 'file' | lpr),
printing doesn't work. I get: lpr: unable to create temporary file. Error
I double-checked the file permission of the lp, lpr, lpq, lprm executables. I
think they should have the suid and guid bit set.
I changed it, and now it works. Is it a security risk??
Once again Paul de Vrieze gave me a useful hint. I had some wrong permissions on
my temporary /var/tmp directory.
Changing these permissions to the correct values, reactivated printing through
pipe for normal users.
forgot to close the bug