/dev/lp0: permission denied
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cupsys (Ubuntu) |
Invalid
|
Medium
|
Jonathan Riddell |
Bug Description
Something odd after restarting cupsys on a breezy machine tonight. Using kubuntu
but assume it's a generic issue. lpq said "<printername> is not ready" and
trying to print gave:
E [25/Nov/
"/dev/lp0": Permission denied
ls -l /dev/lp0 was:
crw-rw---- 1 root lp 6, 0 2005-10-31 14:36 /dev/lp0
cupsys is in the lp group, so all should have been fine. I note that cupsd is
running as lp, not cupsys. This explains it. chmod 0660 /dev/lp0 && chown
lp /dev/lp0 enables printing.
So either there is a bug in cupsys and it is running as lp instead of cupsys, or
there is a bug in udev which should chown lp /dev/lp0.
(Entered as i386, may be applicable on all platforms.)
Changed in cupsys: | |
status: | Rejected → Unconfirmed |
> I note that cupsd is running as lp, not cupsys.
That's indeed the problem. Did you change anything in /etc/cups/ cupsd.conf, in particular the 'User' directive? Can you please attach your file here?