Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Sep 2014 09:00:46 +0300
From:      Andriy Gapon <avg@FreeBSD.org>
To:        freebsd-stable List <stable@FreeBSD.org>, FreeBSD Current <freebsd-current@FreeBSD.org>
Cc:        freebsd-desktop@FreeBSD.org
Subject:   Fwd: usb printer vs cups
Message-ID:  <5419238E.8050708@FreeBSD.org>
In-Reply-To: <54133325.9070302@FreeBSD.org>
References:  <54133325.9070302@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

Soliciting help.

-------- Forwarded Message --------

>From my experience I think that cupsd executes backend tools with all uids and
gids set to cups and no supplementary groups.  In the case of USB printers the
backends need to access /dev/usbctl and /dev/usb/foobar that corresponds to a
printer.  That means that the access to those devices must be somehow granted to
cups:cups.
How do people solve this?  What kind of permissions / configuration do you use?

P.S.
Maybe I over-generalized the issue to all USB printers.  My personal experience
is with an HP printer handled by hplip / hplip-plugin.
-- 
Andriy Gapon





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5419238E.8050708>