Red Hat Bugzilla – Bug 251468
console.perms change required for HPLIP scanning
Last modified: 2007-11-30 17:12:12 EST
Description of problem:
When using the HPLIP backend to use a scanner, the device permissions need to
allow group ownership of the device node. This is because the same device node
(the raw USB device) is used both for scanning and printing, and it needs group
lp read-write access.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Plug in an HP multi-function device.
2.Try to print something.
3.Try to scan something.
Currently, only printing works. I have an HPLIP patch to add a 'scanner-%k'
symlink, but if I apply that only scanning works. Needs this console.perms
patch to make both work.
Can print and scan.
Created attachment 160960 [details]
As pam_console will/should? be replaced with consolekit for F8, this doesn't
make much sense to add to pam.
As I understand it, console.perms will continued to be honoured by ConsoleKit.
What's a better solution?
IMHO only as a legacy thing. I suppose it will have its own configuration file
but I don't know any details.
Neither do I. Until we do, let's just fix this (it's a one-character patch) so
that the new HPLIP can actually get some testing.. :-)
OK, OK, you've convinced me :)
Fixed in pam-0.99.8.1-5.fc8
The line will actually be:
<console> 0660 <scanner> 0660 root.lp