https://bugzilla.novell.com/show_bug.cgi?id=862986 https://bugzilla.novell.com/show_bug.cgi?id=862986#c3 Johannes Meixner <jsmeix@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Found By|--- |Community User Resolution| |INVALID --- Comment #3 from Johannes Meixner <jsmeix@suse.com> 2014-02-11 11:37:30 CET --- The correct intentional default setting is -r-xr-xr-x root root /usr/lib/cups/backend/usb so that the issue is "invalid" according to https://bugzilla.novell.com/page.cgi?id=fields.html#status "The problem described is not a bug." With -rwx------ root root /usr/lib/cups/backend/usb it is run as "root". We will not have this as default. See "man 7 backend": ------------------------------------------------------------------------ PERMISSIONS Backends without world execute permissions are run as the root user. Otherwise, the backend is run using the unprivileged user account, typically "lp". ------------------------------------------------------------------------ To make USB printers accessible as user "lp", udev should set appropriate device file permissions, for example on my system: ------------------------------------------------------------------------ # lsusb Bus 001 Device 003: ID 03f0:0417 Hewlett-Packard LaserJet 1200 series # lsusb -v -s 001:003 | grep Class bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bInterfaceClass 7 Printer bInterfaceSubClass 1 Printer bInterfaceClass 7 Printer bInterfaceSubClass 1 Printer bInterfaceClass 7 Printer bInterfaceSubClass 1 Printer # ls -l /dev/bus/usb/001/003 crw-rw-r--+ 1 root lp 189, 2 Feb 7 16:58 /dev/bus/usb/001/003 ------------------------------------------------------------------------ By default USB devices that have an USB Interface class "7 Printer" and an USB Interface SubClass "1 Printer" should get device file permissions set by udev so that "lp" has read and write access via the udev rules in /usr/lib/udev/rules.d/50-udev-default.rules in particular that rule therein (one line shown wrapped here): ------------------------------------------------------------------------ SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{ID_USB_INTERFACES}=="*:0701??:*", GROUP="lp" ------------------------------------------------------------------------ In ENV{ID_USB_INTERFACES}=="*:0701??:*" the "0701" matches bInterfaceClass = 07 and bInterfaceSubClass = 01 (see my "lsusb -v -s 001:003 | grep Class" output above). If the udev magic does not work for your USB printer device, you need an appropriate udev rule for your particular device. If only trusted users work on your computer, you can work around those issue by running the CUPS backend as "root" (as you did). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.