Stange Cups Problem: "/dev/lp0": Permission denied
macsek
ulist at gs1.ubuntuforums.org
Tue Jun 7 20:10:47 UTC 2005
Well, it seems, that cupsd runs as lp user, lpadmin group, and cannot
open /dev/lp0, /dev/usb/lp0. I modified these devices to have lp/lp
(user/group) instead of root/lp
(/etc/udev/permissions.d/udev.permissions):
Code:
--------------------
printers/*:lp:lp:0660
usb/lp[0-9]*:lp:lp:0660
usb/legousbtower[0-9]*:root:root:666
lp[0-9]*:lp:lp:0660
parport[0-9]*:lp:lp:0660
irlpt[0-9]*:lp:lp:0660
usblp[0-9]*:lp:lp:0660
--------------------
(Pull out and replug USB cable to check, or chown lp:lp /dev/lp0.)
Then it works without having to set 0666 or chmod o+rw on devices -
which is bad thing.
(First I tried root/lpadmin, but it did not work...)
I just wonder how it is supposed to work...
--
macsek
More information about the ubuntu-users
mailing list