Stange Cups Problem: "/dev/lp0": Permission denied

'Forum Post ulist at
Sat Nov 19 23:54:03 UTC 2005

Problem still exists in Kubuntu 5.10, Breezy Badger

The solution has changed somewhat due to changes in udev. 

The problem can be recognised in the print tool by looking at the IPP
report, where it says ""/dev/lpx": Permission denied", where x ranges
from 0 to 9. 

Indeed, on "ls -l /dev/usb/lp*" one sees that only root has access, so
cupsd not.

To solve: open /etc/udev/permissions.rules

and do the changes: 

BUS=="usb", KERNEL=="lp[0-9]*", GROUP="lp"


BUS=="usb", KERNEL=="lp[0-9]*", MODE="0660", OWNER="lp", GROUP="lp"


SUBSYSTEM=="printer",     GROUP="lp"


SUBSYSTEM=="printer",   OWNER="lp",     GROUP="lp"

This solved the problem for me. Switch of the printer, switch back on,
and now "ls -l /dev/usb/lp*" shows that lp has the required access.

Go to the print tool, restart the printer, and yes, the jobs start
flowing! :razz:


More information about the ubuntu-users mailing list