From owner-freebsd-ports@FreeBSD.ORG Fri Jul 14 18:12:31 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A416516A4DA for ; Fri, 14 Jul 2006 18:12:31 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.184]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC9E743D45 for ; Fri, 14 Jul 2006 18:12:30 +0000 (GMT) (envelope-from uspoerlein@gmail.com) Received: by nf-out-0910.google.com with SMTP id n28so206837nfc for ; Fri, 14 Jul 2006 11:12:29 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to; b=D7tECr4z5oSvqiJ11qv86ogNv/OOEQ3aIkbN1u75ZNznNUI7aW7HZ+udq4vnBKHeZrOwxuoqmbYS/h9oB7vmPiLqP7jOSkMIguc+ez6hW9onoxp1WDQY0rDYcGqCNS0NGZoeVLgwqh+8pCjhxKQ0EZcS3H17BYWeGp2K30prkpg= Received: by 10.48.48.15 with SMTP id v15mr2200909nfv; Fri, 14 Jul 2006 11:12:29 -0700 (PDT) Received: from roadrunner.q.local ( [84.149.82.133]) by mx.gmail.com with ESMTP id k9sm3228176nfc.2006.07.14.11.12.27; Fri, 14 Jul 2006 11:12:28 -0700 (PDT) Received: from roadrunner.q.local (localhost [127.0.0.1]) by roadrunner.q.local (8.13.6/8.13.6) with ESMTP id k6BIqEM4087278; Tue, 11 Jul 2006 20:52:16 +0200 (CEST) (envelope-from uspoerlein@gmail.com) Received: (from q@localhost) by roadrunner.q.local (8.13.6/8.13.6/Submit) id k6AGxm36002830; Mon, 10 Jul 2006 18:59:48 +0200 (CEST) (envelope-from uspoerlein@gmail.com) Date: Mon, 10 Jul 2006 18:59:48 +0200 From: Ulrich Spoerlein To: rotkap@gmx.de Message-ID: <20060710165948.GA1026@roadrunner.buck.local> Mail-Followup-To: rotkap@gmx.de, freebsd-ports@freebsd.org References: <449DE614.3040204@spamcop.net> <449F43EF.6030107@spamcop.net> <200607011444.36821.david.marec@free.fr> <44A97652.7070003@freebsd.org> <44A9D741.8030909@spamcop.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ikeVEW9yuYc//A+q" Content-Disposition: inline In-Reply-To: Cc: freebsd-ports@freebsd.org Subject: Re: print/cups-base 1.2.0_2 and locally connected printer X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jul 2006 18:12:31 -0000 --ikeVEW9yuYc//A+q Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Heino Tiedemann wrote: > I found 2 Solutions fpr the permissions: >=20 >=20 > Solution a) >=20 > ,---- > | I've added the following to /etc/devfs.conf: > | own lpt0 root:cups > | perm lpt0 0660=20 > `---- >=20 >=20 >=20 > Solution b) > ,---- > | Add following lines to /etc/devfs.rules: > | > | [system=3D10] > | add path 'lpt*' mode 0660 group cups > |=20 > | And following to /etc/rc.conf: > |=20 > | devfs_system_ruleset=3D"system" > `---- >=20 >=20 > Is there one way to prefer? Solution a) only works for devices which are present when the system boots up. It is fine for parallel port. Solution b) works for devices that come and go, too. It is required for ulpt devices. Ulrich Spoerlein --=20 PGP Key ID: 20FEE9DD Encrypted mail welcome! Fingerprint: AEC9 AF5E 01AC 4EE1 8F70 6CBD E76E 2227 20FE E9DD Which is worse: ignorance or apathy? Don't know. Don't care. --ikeVEW9yuYc//A+q Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (FreeBSD) iD8DBQFEsoeE524iJyD+6d0RAnZAAKCwzJwcThCmZPUfxPkNQnDqJvJH9ACgs1WA nIM2hzfw1MYQY/ZHrjK9x5s= =0PoS -----END PGP SIGNATURE----- --ikeVEW9yuYc//A+q--