Package: udev Version: 0.053-1 Severity: normal udev's rules file makes printer devices such as /dev/lp0 be owned by the lp group, but I think does not make them mode 664, so that group cannot write to them:
SUBSYSTEM="printer", GROUP="lp" I think it's correct for printer devices in Debian to default to root.lp 664, so the above needs a MODE="664" added. In the default setup, usb printers produce /dev/usb/lpn devices, and these devices are owned by root.root, despite the line quoted above. I had to modify the file as follows to make the usb printer be writable by the lp group: BUS="usb", KERNEL="lp[0-9]*", NAME="usb/%k", MODE="664", GROUP="lp" In case this is not a general problem somehow, the printer I tested with is a Epson stylus c82. udevinfo -a -p /sys/class/usb/lp0/ udevinfo starts with the device the node belongs to and then walks up the device chain, to print for every device found, all possibly useful attributes in the udev key format. Only attributes within one device section may be used together in one rule, to match the device for which the node will be created. device '/sys/class/usb/lp0' has major:minor 180:0 looking at class device '/sys/class/usb/lp0': SYSFS{dev}="180:0" follow the class device's "device" looking at the device chain at '/sys/devices/pci0000:00/0000:00:1d.0/usb1/1-2/1-2:1.0': BUS="usb" ID="1-2:1.0" SYSFS{bAlternateSetting}=" 0" SYSFS{bInterfaceClass}="07" SYSFS{bInterfaceNumber}="00" SYSFS{bInterfaceProtocol}="02" SYSFS{bInterfaceSubClass}="01" SYSFS{bNumEndpoints}="02" SYSFS{detach_state}="0" SYSFS{iInterface}="00" looking at the device chain at '/sys/devices/pci0000:00/0000:00:1d.0/usb1/1-2': BUS="usb" ID="1-2" SYSFS{bConfigurationValue}="1" SYSFS{bDeviceClass}="00" SYSFS{bDeviceProtocol}="00" SYSFS{bDeviceSubClass}="00" SYSFS{bMaxPower}=" 2mA" SYSFS{bNumConfigurations}="1" SYSFS{bNumInterfaces}=" 1" SYSFS{bcdDevice}="0100" SYSFS{bmAttributes}="c0" SYSFS{detach_state}="0" SYSFS{devnum}="4" SYSFS{idProduct}="0005" SYSFS{idVendor}="04b8" SYSFS{manufacturer}="EPSON" SYSFS{maxchild}="0" SYSFS{product}="USB Printer" SYSFS{serial}="OHL260304290236260" SYSFS{speed}="12" SYSFS{version}=" 1.10" looking at the device chain at '/sys/devices/pci0000:00/0000:00:1d.0/usb1': BUS="usb" ID="usb1" SYSFS{bConfigurationValue}="1" SYSFS{bDeviceClass}="09" SYSFS{bDeviceProtocol}="00" SYSFS{bDeviceSubClass}="00" SYSFS{bMaxPower}=" 0mA" SYSFS{bNumConfigurations}="1" SYSFS{bNumInterfaces}=" 1" SYSFS{bcdDevice}="0206" SYSFS{bmAttributes}="c0" SYSFS{detach_state}="0" SYSFS{devnum}="1" SYSFS{idProduct}="0000" SYSFS{idVendor}="0000" SYSFS{manufacturer}="Linux 2.6.8-1-686 uhci_hcd" SYSFS{maxchild}="2" SYSFS{product}="Intel Corp. 82801DB (ICH4) USB UHCI #1" SYSFS{serial}="0000:00:1d.0" SYSFS{speed}="12" SYSFS{version}=" 1.10" looking at the device chain at '/sys/devices/pci0000:00/0000:00:1d.0': BUS="pci" ID="0000:00:1d.0" SYSFS{class}="0x0c0300" SYSFS{detach_state}="0" SYSFS{device}="0x24c2" SYSFS{irq}="10" SYSFS{subsystem_device}="0x3084" SYSFS{subsystem_vendor}="0x103c" SYSFS{vendor}="0x8086" looking at the device chain at '/sys/devices/pci0000:00': BUS="" ID="pci0000:00" SYSFS{detach_state}="0" -- Package-specific info: -- /etc/udev/rules.d/: /etc/udev/rules.d/: total 0 lrwxrwxrwx 1 root root 19 Dec 26 23:12 cd-aliases.rules -> ../cd-aliases.rules lrwxrwxrwx 1 root root 13 Dec 26 23:12 udev.rules -> ../udev.rules lrwxrwxrwx 1 root root 12 Feb 26 18:40 z_hal-plugdev.rules -> ../hal.rules -- /sys/: /sys/block/hda/dev /sys/block/hda/hda1/dev /sys/block/hda/hda2/dev /sys/block/hda/hda5/dev /sys/block/hdc/dev /sys/block/ram0/dev /sys/block/ram1/dev /sys/block/ram10/dev /sys/block/ram11/dev /sys/block/ram12/dev /sys/block/ram13/dev /sys/block/ram14/dev /sys/block/ram15/dev /sys/block/ram2/dev /sys/block/ram3/dev /sys/block/ram4/dev /sys/block/ram5/dev /sys/block/ram6/dev /sys/block/ram7/dev /sys/block/ram8/dev /sys/block/ram9/dev /sys/class/drm/i830/dev /sys/class/input/event0/dev /sys/class/input/event1/dev /sys/class/input/event2/dev /sys/class/input/event3/dev /sys/class/input/mice/dev /sys/class/input/mouse0/dev /sys/class/input/mouse1/dev /sys/class/input/ts0/dev /sys/class/input/ts1/dev /sys/class/misc/agpgart/dev /sys/class/misc/hw_random/dev /sys/class/misc/ndiswrapper/dev /sys/class/misc/psaux/dev /sys/class/misc/rtc/dev /sys/class/sound/adsp/dev /sys/class/sound/audio/dev /sys/class/sound/audio1/dev /sys/class/sound/controlC0/dev /sys/class/sound/controlC1/dev /sys/class/sound/dsp/dev /sys/class/sound/dsp1/dev /sys/class/sound/mixer/dev /sys/class/sound/mixer1/dev /sys/class/sound/pcmC0D0c/dev /sys/class/sound/pcmC0D0p/dev /sys/class/sound/pcmC0D1c/dev /sys/class/sound/pcmC0D2c/dev /sys/class/sound/pcmC0D3c/dev /sys/class/sound/pcmC0D4p/dev /sys/class/sound/pcmC1D0c/dev /sys/class/sound/pcmC1D0p/dev /sys/class/sound/timer/dev -- Kernel configuration: -- System Information: Debian Release: 3.1 APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.8-1-686 Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) Versions of packages udev depends on: ii hotplug 0.0.20040329-16 Linux Hotplug Scripts ii initscripts 2.86.ds1-1 Standard scripts needed for bootin ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an ii makedev 2.3.1-75 Creates device files in /dev ii sed 4.1.2-8 The GNU sed stream editor -- debconf information: udev/devfs-warning: * udev/reboot-warning: -- see shy jo -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]