print/cups-base 1.2.0_2 and locally connected printer

Rick Voland rpvoland at spamcop.net
Tue Jul 4 02:49:47 UTC 2006


Heino Tiedemann wrote:
> "Bruce A. Mah" <bmah at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at 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 at spamcop.net



More information about the freebsd-ports mailing list