Robert Huff wrote:

Jona Joachim writes:

>    _In my case_, CUPS as ported does not like the permissions on
> /dev/lpt0*.  They default to "crw-------"; setting them to
> "crw-rw-rw-" makes the parallel printer appear.
>    There should be a way to tall devfs to change those permissions
> automatically, but I haven't been able to figure it out.

You have to specify
  perm  lpt0  0666
in /etc/devfs.conf

[EMAIL PROTECTED]>> dir /dev/lpt*
crw-------  1 root  wheel    0,  79 Sep  5 20:45 /dev/lpt0
crw-------  1 root  wheel    0,  80 Sep  5 20:45 /dev/lpt0.ctl
[EMAIL PROTECTED]>> grep lpt /etc/devfs.conf
#       make lpt0 available to CUPS
perm            /dev/lpt0        0666
Did you as root do

sh /etc/rc.d/devfs start

AFAIK rules are only applied when the node is created, which it already would have been when you added/changed your rule.

Also not /dev/lpt0 but just lpt0.  Devfs rules only apply to /dev!

--Alex


_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to