Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

usb printer udev cups bug??

31 views
Skip to first unread message

henk

unread,
Oct 18, 2008, 3:30:16 PM10/18/08
to
When my usb printer(canon pixma 510) comes on line, udev creates the
following device:
/dev/usb/lp0 root:lp 0660
The problem is cupsd runs as lpadmin, so i get permission denied errors.
The question: is this a bug, if yes: a cups one or a udev one?

--
Mzzl
Henk


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Ron Johnson

unread,
Oct 18, 2008, 3:40:05 PM10/18/08
to
On 10/18/08 13:44, henk wrote:
> When my usb printer(canon pixma 510) comes on line, udev creates the
> following device:
> /dev/usb/lp0 root:lp 0660
> The problem is cupsd runs as lpadmin, so i get permission denied errors.
> The question: is this a bug, if yes: a cups one or a udev one?

You could edit the relevant udev script to tell it to have the
device use group lpadmin. If that works, file a bug against udev.

--
Ron Johnson, Jr.
Jefferson LA USA

Help a man when he is in trouble and he will remember you when
he is in trouble again.

henk

unread,
Oct 18, 2008, 6:00:09 PM10/18/08
to
On Saturday 18 October 2008 21:23:01 Ron Johnson wrote:
> On 10/18/08 13:44, henk wrote:
> > When my usb printer(canon pixma 510) comes on line, udev creates the
> > following device:
> > /dev/usb/lp0 root:lp 0660
> > The problem is cupsd runs as lpadmin, so i get permission denied errors.
> > The question: is this a bug, if yes: a cups one or a udev one?
First to clarify : cupsd runs as user lp group lpadmin
>
> You could edit the relevant udev script to tell it to have the
> device use group lpadmin. If that works, file a bug against udev.

For now I have changed cupsd to run as group lp because
1. couldn't find any device owned by lpadmin in /etc/udev/ and

2.for this in /etc/cupsd/cupsd.conf:

# Group (Group)
#
# The group the server runs under. Normally this
# must be lpadmin, however you can configure things for another
# group as needed.
#
# ex: lpadmin
#
#Group lpadmin

After changing this to lp, the printer is fine.
But this sort of problem can prevent many users to use their printer.

Can you elaborate on why udev should solve the problem?
All udev rules create devices as group lp, not as group lpadmin.

Maybe we can organize an election between the two.

udev 1 cups 0 :-)

Mzzl
H.

--
Mzzl
Henk

0 new messages