print/cups-base 1.2.0_2 and locally connected printer
rotkaps_spam_trap at gmx.de
Tue Jul 4 16:30:04 UTC 2006
Rick Voland <rpvoland at spamcop.net> wrote:
> 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----).
>> freebsd-ports at freebsd.org mailing list
>> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
> You may want to read
> This message suggests a solution that involves changing permissions on
> (also an issue for usb printers)
> -------------begin quote
> Add following lines to /etc/devfs.rules:
> add path 'lpt*' mode 0660 group cups
> And following to /etc/rc.conf:
> -------------end quote
I found 2 Solutions fpr the permissions:
| I've added the following to /etc/devfs.conf:
| own lpt0 root:cups
| perm lpt0 0660
| Add following lines to /etc/devfs.rules:
| add path 'lpt*' mode 0660 group cups
| And following to /etc/rc.conf:
Is there one way to prefer?
More information about the freebsd-ports