Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Sep 2014 10:24:26 +0300
From:      Andriy Gapon <avg@FreeBSD.org>
To:        Hans Petter Selasky <hps@selasky.org>, freebsd-stable List <stable@FreeBSD.org>, FreeBSD Current <freebsd-current@FreeBSD.org>
Cc:        freebsd-desktop@FreeBSD.org
Subject:   Re: Fwd: usb printer vs cups
Message-ID:  <5419372A.2050509@FreeBSD.org>
In-Reply-To: <54193273.6080709@FreeBSD.org>
References:  <54133325.9070302@FreeBSD.org> <5419238E.8050708@FreeBSD.org> <5419285D.8020909@selasky.org> <54193273.6080709@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 17/09/2014 10:04, Andriy Gapon wrote:
> On 17/09/2014 09:21, Hans Petter Selasky wrote:
>> Instead make cups-base install the attached devd configuration file in
>> /usr/local/etc/devd/ which does the needed chown for printers only.
> 
> The problem is that my printer does not work if I also do not change permissions
> on /dev/usbctl.  But I do not really want /dev/usbctl to be owned by cups as
> there can be other services / users that need access to usbctl.

Actually I take this back.
My /dev/usbctl was not world readable as it should be by default.  Not sure why
I changed its permissions from 0644 to 0660, probably a litle bit of paranoia.
Now that I changed the permissions to 0664 and installed your script printing
works without problems.

Thanks!

> Is there anything smarter than mucking with device ownership?
> 
> In other words, I have no problem granting cups user or group a full access to
> all USB devices.  I have a problem with changing owner or group of USB devices
> to cups, because that interferes with other accesses to those devices.
> 


-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5419372A.2050509>