From owner-freebsd-questions@FreeBSD.ORG Thu Sep 7 14:40:15 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 48E3616A4DA for ; Thu, 7 Sep 2006 14:40:15 +0000 (UTC) (envelope-from xfb52@dial.pipex.com) Received: from smtp-out3.blueyonder.co.uk (smtp-out3.blueyonder.co.uk [195.188.213.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6613E43D69 for ; Thu, 7 Sep 2006 14:40:07 +0000 (GMT) (envelope-from xfb52@dial.pipex.com) Received: from [172.23.170.138] (helo=anti-virus01-09) by smtp-out3.blueyonder.co.uk with smtp (Exim 4.52) id 1GLL30-0007y8-8q; Thu, 07 Sep 2006 15:40:06 +0100 Received: from [82.41.35.166] (helo=[192.168.0.2]) by asmtp-out6.blueyonder.co.uk with esmtp (Exim 4.52) id 1GLL2z-000359-JW; Thu, 07 Sep 2006 15:40:05 +0100 Message-ID: <45002F44.5040508@dial.pipex.com> Date: Thu, 07 Sep 2006 15:40:04 +0100 From: Alex Zbyslaw User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-GB; rv:1.7.13) Gecko/20060515 X-Accept-Language: en MIME-Version: 1.0 To: Robert Huff References: <20060907121906.71wgo7l4zegws08o@webmail.frontiernet.net> <17664.5027.243777.190581@jerusalem.litteratus.org> <45001C82.30200@web.de> <17664.10172.939032.620287@jerusalem.litteratus.org> In-Reply-To: <17664.10172.939032.620287@jerusalem.litteratus.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: cups 1.2.2 and parallel port printers X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Sep 2006 14:40:15 -0000 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 >> >> > >huff@jerusalem>> 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 >huff@jerusalem>> 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