Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 252837 - Bad device ownership for hp usb printers.
Summary: Bad device ownership for hp usb printers.
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Printing (show other bugs)
Hardware: All Linux
: High minor
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-28 18:51 UTC by Paweł Hajdan, Jr. (RETIRED)
Modified: 2010-01-15 14:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
70-hpmud.rules.patch (70-hpmud.rules.patch,1.26 KB, patch)
2008-12-28 18:53 UTC, Paweł Hajdan, Jr. (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2008-12-28 18:51:53 UTC
The problem: with hplip installed and udev used (pretty standard setup), the /dev/usb/lp0 device is mode 660, owned by root:plugdev. This plugdev is troublesome, because it should be lp to allow printing by cups. This is what hplip's 70-hpmud.rules file was intended for, but it's ineffective.

Solution: will attach a proposed patch which fixes the problem on my system.
Comment 1 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2008-12-28 18:53:15 UTC
Created attachment 176642 [details, diff]
70-hpmud.rules.patch

This is a patch against /etc/udev/rules.d/70-hpmud.rules, which is part of net-print/hplip-2.8.6b, the current stable version for amd64.
Comment 2 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2010-01-15 13:59:51 UTC
Paweł: This WORKSFORME. Is it still a problem for you?
i have net-print/hplip-2.8.6b and 
bangert@marsupilami ~ $ ls -l /dev/usb/lp0
crw-rw---- 1 root lp 180, 0 2010-01-15 14:56 /dev/usb/lp0
Comment 3 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2010-01-15 14:21:44 UTC
Let's close it for now and I can reopen in case I detect it again. It's on a machine I don't have remote access to, and rarely access physically.