From owner-freebsd-ports@FreeBSD.ORG Wed Jul 25 01:18:36 2007 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A74A216A41A for ; Wed, 25 Jul 2007 01:18:36 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.freebsd.org (Postfix) with ESMTP id 49D5013C442 for ; Wed, 25 Jul 2007 01:18:35 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (ppp121-45-48-57.lns11.adl2.internode.on.net [121.45.48.57]) (authenticated bits=0) by cain.gsoft.com.au (8.13.8/8.13.8) with ESMTP id l6P0qB85032276 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 25 Jul 2007 10:22:13 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: freebsd-ports@freebsd.org Date: Wed, 25 Jul 2007 10:21:45 +0930 User-Agent: KMail/1.9.7 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart6586559.O5mHgZn5ZJ"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200707251021.52112.doconnor@gsoft.com.au> X-Spam-Score: -2.312 () BAYES_00 X-Scanned-By: MIMEDefang 2.58 on 203.31.81.10 Subject: Fwd: CUPS vs lpt0 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: Wed, 25 Jul 2007 01:18:36 -0000 --nextPart6586559.O5mHgZn5ZJ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I originally sent this to the CUPS maintainer and got a "that would be=20 nice" reply to the last part, so I'm wondering how hard it would be to=20 do :) Hi, Recently I have had trouble using CUPS and I tracked it down to the fact=20 that CUPS [now] appears to access device nodes as a non-root user.=20 Unfortunately this conflicts with the standard permissions=20 for /dev/lpt0. Do you have an opinion on the correct solution? I have=20 an /etc/devfs.rules file with this in it.. [root=3D100] add path 'lpt*' group cups mode 660 And have this in /etc/rc.conf.. devfs_system_ruleset=3D"root" but this is annoying to have to remember to do for a new install. I wonder if an lpt group should be created by default and then the CUPS=20 user can be a member. Thanks. =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart6586559.O5mHgZn5ZJ Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQBGpp6o5ZPcIHs/zowRAnHgAJ9Un1B8ZU5IJNsY7IBF5JigBqV8kgCaA00t mcJRwuS0+7c3q8vqABwNbCA= =PIqE -----END PGP SIGNATURE----- --nextPart6586559.O5mHgZn5ZJ--