Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Jul 2006 21:49:37 -0500
From:      Rick Voland <rpvoland@spamcop.net>
To:        rotkap@gmx.de
Cc:        freebsd-ports@freebsd.org
Subject:   Re: print/cups-base 1.2.0_2 and locally connected printer
Message-ID:  <44A9D741.8030909@spamcop.net>
In-Reply-To: <i7bon3-2ig1.ln1@news.t-online.com>
References:  <449DE614.3040204@spamcop.net> <449F43EF.6030107@spamcop.net> <200607011444.36821.david.marec@free.fr> <44A97652.7070003@freebsd.org> <i7bon3-2ig1.ln1@news.t-online.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Heino Tiedemann wrote:
> "Bruce A. Mah" <bmah@freebsd.org> wrote:
> 
>> If memory serves me right, David MAREC wrote:
>>> Is there new device policies defined by cups ?
>>>
>> I noticed that the cups port now installs a cups user and group.  I
>> infer from that change that some portion of cups now runs as a
>> non-privileged user, and that if you're driving a parallel port, it
>> needs to writable (readable too?) by the new cups user.
>>
>> (I encountered this problem on my RELENG_6/i386 print server machine,
>> made /dev/lpt0 owned by cups:cups, and it worked. 
> 
> root:cups is also workig (rw-rw----).
> 
> Heino
> 
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
> 





You may want to read

http://groups.google.com/group/lucky.freebsd.ports.bugs/browse_thread/thread/2afcd691d1fa4207/e74721b94f2b02a6?lnk=st&q=freebsd+cups&rnum=7#e74721b94f2b02a6

This message suggests a solution that involves changing permissions on
/dev/lpt*
(also an issue for usb printers)

-------------begin quote


Add following lines to /etc/devfs.rules:

[system=10]
add path 'lpt*' mode 0660 group cups

And following to /etc/rc.conf:

devfs_system_ruleset="system"


-------------end quote

Also, you can check out this Problem Report that is cited in the above
message:
ports/99460


----------

Rick Voland
rpvoland@spamcop.net




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44A9D741.8030909>