Re: Re: /dev/lp0 rights and CUPS
> On Tuesday 04 July 2006 03:31, Chris wrote:
> > I have added lp to /etc/modules as was suggested in another message to
> this
> > list. Now I have /dev/lp0 upon boot, but CUPS (localhost:631)
> complains:
> >
> > "Unable to open parallel port device file "/dev/lp0": Permission denied"
> >
> > here are the versions I have installed.
> >
> > ii cupsys 1.2.1-3 Common UNIX Printing System(tm) -
> server
> > ii udev 0.093-1 /dev/ and hotplug management daemon
> >
> > and here are the rights I am getting with this setup
> >
> > crw-rw---- 1 root lp 6, 0 2006-07-03 18:10 /dev/lp0
> >
> > why, oh why, can't udev and CUPS get along? And how do I get udev to
> set
> > the rights of /dev/lp0 to lp:lp which according to another posting is
> > necessary to get let cupsd see it (it works if I manually do it)?
> >
>
>
> In /etc/udev/local.rules, I have the line:
>
> BUS=="usb", KERNEL=="lp[0-9]*", OWNER="lp"
>
> which makes sure the ownership of /dev/usb/lp0 is right for my usb
> printer.
> (The group is automatically taken care of in permissions.rules - but
> strangely not the owner.)
>
> I find I also have to use an old /etc/cups/cupsd.conf file if I want to
> print
> as a user (from KDE at least) - I'm in the process of trying to work out
> why.
>
Judging by the limited response to my post this doesn't seem to be a widespread problem. Although I'm a real Debian fan, it took me a while to get to the bottom of this problem and I must say I'm really frustrated. This seems like a basic issue: cupsd should run with rights that allow it to access printers - or am I missing something here?
Thanks for your post, I'll try what you suggested!
Chris
--
"Feel free" – 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail
Reply to: